This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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.