gdb & ISO C (Was `textdomain warning removal')
Philippe De Muyter
phdm@macqel.be
Sat May 13 01:32:00 GMT 2000
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
More information about the Binutils
mailing list