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

2007-02-27 Thread Nick Clifton
Hi Axel, I'm trying to rename symbols in an archive using objcopy. Your examples below use objdump rather than objcopy. Are you experiencing the same problem with both tools ? It works perfectly under Linux, but on Mac OS X, Do you mean that you can run objcopy and/or objdump on the tes

objcopy in binutils doesn't work on Mac OS X

2007-02-26 Thread Axel Simon
Hi, I'm trying to rename symbols in an archive using objcopy. It works perfectly under Linux, but on Mac OS X, using binutils 2.16.1 (from MacPorts) or 2.17 (from source), doesn't work. For example: sinope:~ as49$ cat blah.c int foo(int f) { int x; x=2*f; return x; } sinope:~ as49$ gcc -c bla