building gcc
Daniel Jacobowitz
drow@false.org
Thu Oct 12 16:51:00 GMT 2006
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
More information about the Gcc
mailing list