Marshall Ward <[EMAIL PROTECTED]> writes:

> 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

-mthumb-interwork is a compiler option, not a linker option.

It's normally best to link with the compiler.  The compiler driver
will invoke the linker with the appropriate options.

Ian


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

Reply via email to