This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Specifying a linker script from the specs file


Shaun Jackman wrote:
Why does the above specs snippet cause gcc to forget it's linking
against thumb libraries?

The -mthumb support works by passing extra -L options to the linker. Try using -v and looking at the linker options.


You didn't include your linker script, but a possibility here is that you are overriding path names in your linker script, preventing the -L options from working as intended.

Also, note that there is a linker --verbose switch that may help debug what the linker is doing.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]