This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: objcopy in binutils doesn't work on Mac OS X
- From: Axel Simon <A dot Simon at kent dot ac dot uk>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Eric Christopher <echristo at apple dot com>, binutils <binutils at sourceware dot org>
- Date: Tue, 27 Feb 2007 17:10:13 +0000
- Subject: Re: objcopy in binutils doesn't work on Mac OS X
- References: <1172505258.6050.126.camel@localhost> <45E4104D.5040308@redhat.com> <1172587084.6050.182.camel@localhost> <45E44976.9080807@redhat.com> <1172591068.6050.194.camel@localhost> <45E464DF.6020009@redhat.com>
On Tue, 2007-02-27 at 17:05 +0000, Nick Clifton wrote:
> Hi Axel,
>
> >>> make[2]: *** No rule to make target `../bfd/bfd.h', needed by `size.o'.
> >> Hmm, how did you configure and build the sources ?
> >
> > Oi, sorry, my bad. I accidently did a configure in src/binutils rather
> > than in src/. But even then, I can't compile binutils. configure refuses
> > to build binutils:
> > sinope:~/source/binutils-cvs as49$ ./configure --enable-targets=all
> > *** This configuration is not supported in the following subdirectories:
> > bfd binutils ld gas opcodes gprof
>
> This is not just a coincidence. It is a known problem that the GNU
> binutils do not currently work properly for darwin based targets.
>
> > The very same configure statement works well in binutils-2.17.
>
> Hmm, but I bet that if you left off the "--enable-targets=all" then it
> would not work ?
No, same thing. binutils 2.17 does work with --enable-targets=all. I
passed in this flag due to the README in binutils where this flag is
mentioned to enable all possible object file formats of bfd.
> > Can I force it to build binutlils anyway?
>
> You could edit the top level configure file to allow it, but really the
> point of the refusal to build is that it is known that the binutils do
> not (currently) work for darwin.
I will look into that.
Ta,
Axel.