Problems building gcc 2.8.1 for --target=sh-hms

Bill Gatliff
Wed Jan 13 18:39:00 GMT 1999


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

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

New CrossGCC FAQ:
To remove yourself from the crossgcc list, send
mail to with the
text 'unsubscribe' (without the quotes) in the
body of the message.

More information about the crossgcc mailing list