Sorry Andrew, but what is this?

Andrew Stubbs ams at codesourcery.com
Tue Jun 22 08:20:21 UTC 2010


Hi Fabio,

Please use the superh-gnu-discuss list for questions like these, thanks.

On 17/06/10 15:41, Fabio Giovagnini wrote:
> It seems as gcc is passing the options --fdpic and --isa=sh2a without a
> blank space.

Indeed it does! :(

> How can I solve this?

./install/bin/sh-uclinux-gcc -dumpspecs > specs

Then edit the "*asm:" rule such that there is a space between 
"%(subtarget_asm_spec)" and "%{m2a:--isa=sh2a}".

Test your new specs file by adding "-specs=specs" to your command line. 
If it works, copy the file to:
   <install-dir>/lib/gcc/sh-uclinux/4.4.1/specs

GCC should then pick up the new specs file automatically, instead of 
using its builtin specs.

I've noted this as a bug to fix for the next release.

Hope that helps.

Andrew



More information about the superh-gnu-discuss mailing list