www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/06/22/09:21:03

From: "Steve Snyder" <swsnyder AT home DOT com>
To: "pgcc AT delorie DOT com" <pgcc AT delorie DOT com>
Date: Tue, 22 Jun 1999 08:20:29 -0400 (EST)
X-Mailer: PMMail 2.00.1500 for OS/2 Warp 4.00
In-Reply-To: <376F4526.676EC752@uiuc.edu>
MIME-Version: 1.0
Subject: Re: pgcc does better, reboot, then does terrible!(SOLVED)
Message-Id: <19990622132026.QGPB8809.mail.rdc1.il.home.com@mercury.snydernet.lan>
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 22 Jun 1999 03:11:18 -0500, Jon wrote:

>If I use egcs for some reason -mcpu=pentiumpro -march=pentiumpro work! 
>-mstack-align-double doesn't, the compiler complains.  What works with
>egcs1.1.2 is:
>
>CFLAGS = -Wall -mpentium -mcpu=pentiumpro -march=pentiumpro -O4
>-malign-loops=2 -malign-jumps=2 -malign-functions=2 -malign-double
>--fast-math -pg

I'm a little puzzled by your use of some of these switches.

1. Why use -mpentium, then turn around use -mcpu=pentiumpro?  Doesn't the 
latter switch make the former redundant?

2. Why use -O4 in preference to -O6?

3. Why specify the loop/jump/function alignment with the default values? 
According to the egcs doc, you should get this same alignment even if you 
dispense with the -malign-* switches entirely.

4. How safe is the -malign-double switch?  The egcs doc contains a (to me) 
scary warning about breaking compatibility with "the published application 
binary interface for the 386".  Is it your experience that this is not a 
real problem?

Thank you.


*** Steve Snyder ***

- Raw text -


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