[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

no -mthumb-interwork support for ld in an arm-thumb cross-compiler tools

From: Marshall Ward
Subject: no -mthumb-interwork support for ld in an arm-thumb cross-compiler toolset
Date: Tue, 14 Jun 2005 11:06:36 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]