This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GDB 'n' cc; was Convert 3.2 to ISO C
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: law at redhat dot com
- Cc: gcc at gcc dot gnu dot org, Michael Elizabeth Chastain <mec at shout dot net>
- Date: Sat, 22 Jun 2002 21:15:31 -0400
- Subject: GDB 'n' cc; was Convert 3.2 to ISO C
> 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