This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cross compilinmg from linux to solaris 2.8 : problem in make


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]