delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/10/31/04:36:35

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Sun, 31 Oct 2004 02:35:24 -0700
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: gcc-3.4 and option -mcpu
In-reply-to: <200410280927.19697.pavenis@latnet.lv>
To: djgpp-workers AT delorie DOT com
Message-id: <2tb9o010t05nm9r4gahhi2v0rprp8jb1ok@4ax.com>
Organization: Systematic Software
MIME-version: 1.0
X-Mailer: Forte Agent 1.93/32.576 English (American)
References: <200410271828 DOT 56384 DOT pavenis AT latnet DOT lv>
<01c4bc52$Blat.v2.2.2$c796b760 AT zahav DOT net DOT il>
<200410280927 DOT 19697 DOT pavenis AT latnet DOT lv>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i9V9aT2P009406
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 28 Oct 2004 09:27:19 +0300, 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>
>> > Date: Wed, 27 Oct 2004 18:28:56 +0300
>> >
>> > 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! 

>Maybe -mtune is a bit less confusing.

There have been a couple of postings on the djgpp list/NG(s) where
programmers expected the "vague" -mcpu to select the (-march)
instruction repertoire and complained because they weren't getting the
expected code: one had the default changed to pentium and found his
code wouldn't run on 386s, and another was getting slow code on his
pentium IIRC. 


- Raw text -


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