www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/11/01/19:16:40

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Message-ID: <41867C12.6050801@ujf-grenoble.fr>
Date: Mon, 01 Nov 2004 19:10:26 +0100
From: Maurice Lombardi <Maurice DOT Lombardi AT ujf-grenoble DOT fr>
User-Agent: Mozilla/5.0 (Windows; U; Win98; fr-FR; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: fr-fr, it, en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: gcc-3.4 and option -mcpu
Reply-To: djgpp-workers AT delorie DOT com

CBFalconer wrote:

 >Brian Inglis wrote:
 >> Andris Pavenis <pavenis AT latnet DOT lv> wrote:
 >>> On Wednesday 27 October 2004 21:27, Eli Zaretskii wrote:
 >>>>> From: Andris Pavenis <pavenis AT latnet DOT lv>
 >>>>>
 >>>>> GCC command line option -mcpu is used to build DJGPP runtime.
 >>>>> This option is deprecated in gcc-3.4.X.
 >>>>
 >>>> Why in the world do they make these incompatible changes?
 >>>> What's wrong with -mcpu, anyway?
 >
 > The alternative would probably have been to change -mcpu to mean
 > -march, as that's what some (most?) people expect from -mcpu!

 >I can't even find where -mcpu or -march are set on my machine.
 >Executing "gcc -v" only gives me a reference to "djgpp".  AFAICS
 >info gives no information on that.

in recent versions of gcc compiled for djgpp host/target,
"djgpp" is a shorthand for "i586-pc-msdosdjgpp"
thus default arch = i586 = pentium
means that the compiler might not run on i386 or i486
but it can generate executables that run on any i?86 machine,
with proper march and mtune

Maurice

-- 
        Maurice Lombardi
Laboratoire de  Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex     FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 63 54 95
mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019