Mail Archives: pgcc/1999/07/19/09:33:23
-----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 -