This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
gdb & ISO C (Was `textdomain warning removal')
- To: meissner at cygnus dot com (Michael Meissner)
- Subject: gdb & ISO C (Was `textdomain warning removal')
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Sat, 13 May 2000 10:32:24 +0200 (CEST)
- Cc: bje at redhat dot com, alan at linuxcare dot com dot au, binutils at sourceware dot cygnus dot com, gdb at sourceware dot cygnus dot com, rms at fsf dot org
Michael Meissner wrote :
> On Fri, May 12, 2000 at 05:35:16PM +1000, Ben Elliston wrote:
> > > Has anyone any objection to changing the definition of textdomain and
> > > bindtextdomain as follows? This silences gcc as regards
> > > "warning: statement with no effect"
> >
> > These changes are a bit unfortunate in light of the need to retain
> > compatibility with ancient compilers. GDB now requires an ISO C compiler
> > to build it (e.g. GCC). Can't the binutils follow suit?
>
> No. With the debugger, you don't have to build it with the native compiler,
> since you could always build GCC first.
That supposes that gcc builds out of the box on your platform. In my
experience, that is seldom the case and I often need a good debugger to find
why gcc crashes. And gcc comes with a .gdbinit file that thus supposes gdb
is available before gcc :)
> But the C only portion of GCC and
> binutils must still be compilable by compilers with unfortunate limitations.
Philippe De Muyter phdm@macqel.be Tel +32 27029044
Macq Electronique SA rue de l'Aeronef 2 B-1140 Bruxelles Fax +32 27029077