This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: objcopy in binutils doesn't work on Mac OS X


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]