cross compilinmg from linux to solaris 2.8 : problem in make
sting sting
zstingx@hotmail.com
Tue Mar 30 16:45:00 GMT 2004
Hello,
I am trying to build a gcc cross compiler.
The host is RedHat 9 Linux (x86).
That Target is Solaris 2.8
On the host linux there is gcc installed (3.2.2 20030222) (not a cross
compiler
of course, but the linux rpm gcc).
Now, I had downloaded binutil-2.14 and gcc-3.3.2 to the linux.
I had performed the follwoing:
create a binutil-build top-level folder (empty).
from there:
../binutil-2.14 /configure --target=i386-sun-solaris2.8
--prefix=/opt/i386-sun-solaris2.8
make
make install
went OK
create gcc-build top-level folder (empty).
from there:
../gcc-3.3.2/configure --target=i386-sun-solaris2.8
--prefix=i386-sun-solaris2.8 \
--without-headers --with-newlib
$ make all-gcc install-gcc
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
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/home/sad/src/build-gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/sad/src/build-gcc/gcc'
make: *** [all-gcc] Error 2
I am follwoing the directions in
http://crossgcc.billgatliff.com/crossgccfaq/t1.html
any idea?
any help will be appreciated as I am a newbie in cross compiling
sting
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
------
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