I'm ashamed for writing this because I don't think it's a bug, but I can't possibly think what I could be doing wrong and wanted to mention it just in case. I'm trying to build binutils-2.16.1 on a Mac G4 Powerbook (powerpc-apple-darwin7.9.0) and I'm trying to make it an ARM cross-compiler with THUMB opcode support. Specifically, here is my configure:

../configure --prefix=/arm --target=arm-thumb-elf --enable-interwork --enable-multilib

The build is successful and I can use the linker, arm-thumb-elf-ld to produce ARM opcode. But when I try to link using the interworking tag,

 arm-thumb-elf-ld --mthumb-interwork (+ other stuff)

I get the following error message:

 arm-thumb-elf-ld: unrecognised emulation mode: thumb-interwork

Am I simply making a mistake? Inevitably, the real problem is that I can't get ld to use the interworking libgcc.a library properly, and forcing it in produces garbage *.elf output. But everywhere else I've looked, people are using a linker with -mthumb-interwork support, so I wanted to at least verify this issue.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to