This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: building gcc
On Thu, Oct 12, 2006 at 12:22:57PM -0400, Bob Rossi wrote:
> and the gcc that is put into prefixdir is compiled with -O2 and -g,
> which makes it hard to follow in the debugger. Anyone have a clue on how
> to compile gcc so only -g is used, and not -O2? Typically, I use the
> CFLAGS trick, but it doesn't seem to work for gcc.
Use CFLAGS="-g" ../gcc-src/configure. The top level file is still
autoconf 2.13.
--
Daniel Jacobowitz
CodeSourcery