www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/07/19/09:33:23

Date: Mon, 19 Jul 1999 15:33:08 +0200 (CEST)
From: Niteshadow <niteshadow AT hq DOT alert DOT sk>
To: Markus Osa <saratoga AT sektori DOT com>
cc: pgcc AT delorie DOT com
Subject: Re: Defaulting the optimization flags in the compiler
In-Reply-To: <37930589.92AF1BB1@sektori.com>
Message-ID: <Pine.LNX.4.10.9907191528510.11149-100000@hq.alert.sk>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 19 Jul 1999, Markus Osa wrote:

> Hi,
> 
> Is there a way to configure PGCC to every time use the same optimization
> flags, when compiling, so that no Makefiles or such should be edited for
> every program? How? 
> This might be more of a GCC related question, but as the problem came up
> with PGCC, I'm asking it here.
> I'm not a subscriber to the list, so please reply to my email-address.
> 
> Markus Osa
> Finland
> 

The way i do this is export (or set, depends on your shell) these
variables 
CFLAGS="-O6 -mpentiumpro -march=pentiumpro"
CXXFLAGS="-O6 -mpentiumpro -march=pentiumpro"
in my .startup script (.bash_profile, .cshrc). This works with
most programs, which are configured using "configure". Still you may
to check the results and possibly the Makefiles.

- ------------------------------------------------------------------------------
- From  : Robert 'Niteshadow' Varga
email : niteshadow AT hq DOT alert DOT sk, varga AT ibl DOT sk
PGPkey: http://hq.alert.sk/~niteshadow/pgpkey.txt
phone : +421 903 511 985 (mobile, always), +421 863 432 49 75 (home, rarely)
- ------------------------------------------------------------------------------
         We are Linux. Resistance means you didn't get the point.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBN5MpFKz3GZ0qtIKKEQIUeACgoBJlmsEqr8GuOGSdredt43pOLRIAoKzB
AAWjmP+S0FKgxclFrHLCcWNc
=HbCF
-----END PGP SIGNATURE-----

- Raw text -


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