This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: command line options/env variables
- To: egcs at cygnus dot com
- Subject: Re: command line options/env variables
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 16 Dec 1997 00:10:21 -0700
- Reply-To: egcs at cygnus dot com
--
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