This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building gcc


On Thu, Oct 12, 2006 at 12:25:04PM -0400, Daniel Jacobowitz wrote:
> 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.

Thanks Daniel! It works now.

Bob Rossi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]