[superh-gnu-discuss] Re: Sorry Andrew, but what is this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[superh-gnu-discuss] Re: Sorry Andrew, but what is this?



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