cross compilinmg from linux to solaris 2.8 : problem in make

Nathan Kidd nathan@hummingbird.com
Tue Mar 30 17:01:00 GMT 2004


sting sting wrote:

> Hello,
> I am trying to build a gcc cross compiler.
> The host is RedHat 9 Linux (x86).
> That Target is Solaris 2.8
<SNIP>
> I get the following error:
> 
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> /home/sad/src/build-gcc/gcc/xgcc -B/home/sad/src/build-gcc/gcc/ 
> -B/opt/i386-sun-solaris2.8/i386-sun-solaris2.8/bin/
> .........
> /opt/i386-sun-solaris2.8/i386-sun-solaris2.8/bin/ld: cannot open 
> values-Xa.o: No such file or directory

A number of object files need to be pulled from a solaris box.  In my
case I did:
	uname -a
	SunOS ultra 5.5.1 Generic_103640-34 sun4u sparc SUNW,Ultra-1
	cd /usr/ccs
	tar cf /tmp/solaris-sparc-ccs-lib.tar lib/*

And later unpack into your cross-compiling lib dir.  I'm pretty sure 
this is overkill (only a subset of the files are needed), but it worked 
for me.

-Nathan



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list