This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
command line options/env variables
- To: egcs at cygnus dot com
- Subject: command line options/env variables
- From: Andrew Pollard <andrew at odie dot demon dot co dot uk>
- Date: Tue, 16 Dec 1997 00:08:32 GMT
- Reply-To: egcs at cygnus dot com
Soory to bother the list, but how do I specify CFLAGS/CXXFLAGS so that
I can bootstrap gcc with "-mpentiumpro -march=pentiumpro" (ie do a 3
stage compile of gcc - NB I can do this...) and then compile
everything else (ie libio/libstdc++) using the same CFLAGS options?
I can setenv CFLAGS and CXXFLAGS before the configure (but I'm using
gcc-2.7.2.2 to bootstrap the compiler, and hence it complains if I
specify -mpentiumpro, etc)....
If this is a FAQ, I am sorry, but I couldn't find it :-(
PS. I've just compiled up gcc/g++/g77/objc with -mpentiumpro..., I'd
just like to compile the libraries like this as well.... results will
follow for gcc/g++/g77....
Andrew.
--
Andrew Pollard, Auto Simulations Ltd. UK. | home: andrew@odie.demon.co.uk
2 Milbanke Court, Milbanke Way, Bracknell | work: andrewp@autosim.com
Tel:+44(0)1344 426486x103 Fax:+44(0)1344 426615 | http://www.odie.demon.co.uk