Sorry Andrew, but what is this?
Fabio Giovagnini
fabio.giovagnini at aurion-tech.com
Tue Jun 22 10:39:07 UTC 2010
Hi Andrew
I followed you tips, and I solved the problem.
But while I'm tring to build the init user space app I get:
sh-uclinux-gcc -o init.o -O2 -mfdpic -m2a -mb init.c
sh-uclinux-gcc -o init -mfdpic -m2a -mb -Wl,-EB -Wl,-isa=sh2a init.o
/home/fgiovagnini/sh7203/sh7203-
uclinux-4.4-206/build/target/bin/../lib/gcc/sh-uclinux/4.4.1/../../../../sh-
uclinux/bin/ld: bad -rpath option
collect2: ld returned 1 exit status
How can I solve?
Thanks
In data martedì 22 giugno 2010 10:20:21, Andrew Stubbs ha scritto:
: > 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
>
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
www.aurion-tech.com
More information about the superh-gnu-discuss
mailing list