Cross gcc 2.95.1 for sh-coff target

Bruce Robinson brucer@cts.com
Thu Oct 21 11:51:00 GMT 1999


Try using --with-gnu-as and --with-gnu-ld when you configure GCC.
In the cross builds I've done, this causes make it to look for
executables named <target>-as and <target>-ld, or as and ld in
/usr/local/<target>

Good Luck

Alessandro Valenti wrote:
> 
> I have tried to build a gcc cross compiler for sh-coff target from
> source using a i586-pc-gnu-linux host.
> I have configured and builded the binutils with success.
> Then I would like to build the gcc too (2.95.1) but, after a
> successfully configure, the make command return an error.
> The error is due to an attempt to compile an sh asm file with the host's
> as and not the target's one.
> 
> Has someone any experience of this problem?
> 
> Thank You in advance
> 
> Alessandro


More information about the Gcc-help mailing list