Re: Specifying a linker script from the specs file

2005-03-10 Thread James E Wilson
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 tha

Specifying a linker script from the specs file

2005-02-24 Thread Shaun Jackman
I have had no trouble specifiying the linker script using the -T switch to gcc. I am now trying to specify the linker script from a specs file like so: %rename link old_link *link: -Thello.ld%s %(old_link) gcc complains though about linking Thumb code against ARM libraries -- I've specified -mthu