Problems building gcc 2.8.1 for --target=sh-hms
Scott Howard
scott@objsw.com
Thu Jan 14 11:08:00 GMT 1999
You need to add the line 'extern int optimize;' to rtlanal.c so it will
find the variable.
Bill Gatliff wrote:
>
> Guys:
>
> Near as I can tell, I've followed the instructions in FAQ 0.8.2 to the
> letter, but I'm still getting an error when I build gcc 2.8.1 for the
> Hitachi SH2. I've applied the crossgcc-gcc-2.8.1 patch, and I've
> successfully built and installed binutils 2.9.1.0.15.
>
> The message goes something like this:
>
> rtlanal.c:1162: undefined reference to 'optimize'
> make: ***[genattrtab]*** Error 1
>
> Any ideas? Thanks!
>
> Bill Gatliff
> Senior Design Engineer
> Komatsu Mining Systems
> gatliff@haulpak.com
>
> _______________________________________________
> New CrossGCC FAQ: http://www.objsw.com/CrossGCC
> _______________________________________________
> To remove yourself from the crossgcc list, send
> mail to crossgcc-request@cygnus.com with the
> text 'unsubscribe' (without the quotes) in the
> body of the message.
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.
More information about the crossgcc
mailing list