objcopy in binutils doesn't work on Mac OS X

Masaki Muranaka monaka@monami-software.com
Wed Feb 28 06:29:00 GMT 2007


Hello Nick,

On 2007/02/28, at 2:05, Nick Clifton wrote:
>> 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 built binutils from the mainline with a patch similar to  
DarwinPorts' one.
Generated binaries passed 'make check'.
(Though test cases for Darwin target are too tiny to evaluate.)
And it seems that objcopy and objdump work nice to me.
Could you tell me some examples that binutils don't work.
I'll check them.


Index: configure
===================================================================
RCS file: /cvs/src/src/configure,v
retrieving revision 1.258
diff -u -p -r1.258 configure
--- configure   19 Feb 2007 17:24:25 -0000      1.258
+++ configure   28 Feb 2007 01:49:25 -0000
@@ -2111,7 +2111,7 @@ case "${target}" in
      noconfigdirs="$noconfigdirs target-newlib target-libgloss $ 
{libgcj}"
      ;;
    powerpc-*-darwin* | i[3456789]86-*-darwin*)
-    noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
+    noconfigdirs="$noconfigdirs ld gas gdb gprof"
      noconfigdirs="$noconfigdirs sim target-rda"
      ;;
    *-*-darwin*)


--
Masaki Muranaka
Monami software




More information about the Binutils mailing list