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 15:44:28 +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>
Nick,
On Tue, 2007-02-27 at 15:08 +0000, Nick Clifton wrote:
> Hi Axel,
> [I a have added Eric Christopher to the TO list (hi Eric!) because I
> happen to know that he knows a lot about the OS-X binary file formats
> and he may be able to help].
>
> >>> using binutils 2.16.1 (from MacPorts) or 2.17 (from source), doesn't work.
> >> Have you also tried the sources from the mainline of the binutils CVS
> >> repository ?
> >
> > No, I just tried but got:
> >
> > make[2]: *** No rule to make target `../bfd/bfd.h', needed by `size.o'.
> > Stop.
>
> 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
checking build system type... i386-apple-darwin8.8.2
checking host system type... i386-apple-darwin8.8.2
checking target system type... i386-apple-darwin8.8.2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16
$$f1 $$f2
*** This configuration is not supported in the following subdirectories:
bfd binutils ld gas opcodes gprof
The very same configure statement works well in binutils-2.17.
Can I force it to build binutlils anyway?
Ta,
Axel.