This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: gdb & ISO C (Was `textdomain warning removal')
- To: Philippe De Muyter <phdm at macqel dot be>
- Subject: Re: gdb & ISO C (Was `textdomain warning removal')
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Sun, 14 May 2000 00:28:03 -0400
- Cc: Michael Meissner <meissner at cygnus dot com>, 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
- References: <20000512135448.47335@cse.cygnus.com> <200005130832.KAA08253@mail.macqel.be>
On Sat, May 13, 2000 at 10:32:24AM +0200, Philippe De Muyter wrote:
> 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 :)
Or if you have multiple systems, gcc builds as a cross compiler on the other
system targetting your old box. Of course it is much harder to build a cross
compiler making sure you have all of the necessary pieces.
--
Michael Meissner, Cygnus Solutions, a Red Hat company.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482