command line options/env variables
Jeffrey A Law
law@cygnus.com
Mon Dec 15 23:07:00 GMT 1997
--
Jeff Law (law@cygnus.com)
Cygnus Solutions EGCS GNU Compiler System
http://www.cygnus.com http://www.cygnus.com/egcs
In message < 199712160008.AAA16235@odie.demon.co.uk >you write:
>
> 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.c
> o.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
More information about the Gcc
mailing list