This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: howto configure so that CFLAGS='-g3 -O0' in gcc/Makefile?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Larry Evans <cppljevans at suddenlink dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 30 Jun 2009 18:59:45 +0100
- Subject: Re: howto configure so that CFLAGS='-g3 -O0' in gcc/Makefile?
- References: <h2d9am$su7$1@ger.gmane.org>
2009/6/30 Larry Evans:
>
> So... I read `man gcc` which claimed passing "CFLAGS=<options>" on the
> command line is how to do this. Well, since <options> in my case was
> '-g3 -O0' I had to pass it as CFLAGS='-g3 oO0'.
http://gcc.gnu.org/install/build.html
If you wish to use non-default GCC flags when compiling the stage2 and
stage3 compilers, set BOOT_CFLAGS on the command line when doing
`make'.