GDB 'n' cc; was Convert 3.2 to ISO C
Andrew Cagney
ac131313@cygnus.com
Sat Jun 22 18:44:00 GMT 2002
> > gdb's configure script has a section which looks for "-Ae" and enables it.
> > But there are some configury problems with passing this down from the
> > top layer to lower layers. The recommended way to build on
> > native hppa2.0-hp-hpux10.20 is:
> >
> > 'CC=cc -Ae' ./configure
> >
> > Maybe someone with access to an hp machine could play with this.
> > Try downloading gdb 5.2 and look in "gdb/configure" and "gdb/PROBLEMS"
> > for more info.
> :-) The configure code in gdb was broken last I looked (Nov 2001) in repsect
> to how it deals with -Aa/-Ae. if I recall the autoconf folks told me they had
> fixed those problems. There's a thread (and a todo on my list) to get this
> code fixed. It just hasn't bubbled back up to the top of my list.
MichaelC is correct. You should configure GDB with:
'CC=cc -Ae' ./configure
See gdb/486:
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=486
The problem is in the top level configury, not in GDB. Fortunatly the
top level configury is currently being overhauled with an eye to fixing
this sort of problem.
enjoy,
Andrew
More information about the Gcc
mailing list