This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

command line options/env variables



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]