Compiling GCC 3.40 in Sol10b55 Sparc Error

nawirb nawirb@yahoo.com
Fri Jun 4 01:33:00 GMT 2004


Compiling GCC 3.40 in Sol10b55 Sparc Error

Base on this link http://www.bobx.com/solaris_x86/
1. Download SunStudio 9
# cd studio9/
# ls
batch_installer_studio  kits
installer               save_tarfiles
# ./installer

2. Download and install gnu make
# configure;make;make install

# cat /.profile
PATH=/opt/SUNWspro/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ccs/bin
LD_LIBRARY_PATH=/opt/SUNWspro/lib:/usr/local/lib:/usr/lib:$LD_LIBRARY_PATH
export PATH LD_LIBRARY_PATH
# . /.profile

3. Download and extract gcc 3.40
# ./configure
# make
At the end I got this error:
cc -c -DHAVE_CONFIG_H -g -I. -I./../include  
sigsetmask.c -o sigsetmask.o
"/usr/include/sys/feature_tests.h", line 263: #error:
"Compiler or options invalid for pre-UNIX 03 X/Open
applications  and pre-2001 POSIX applications"
cc: acomp failed for sigsetmask.c
make[1]: *** [sigsetmask.o] Error 2
make[1]: Leaving directory
`/export/zones/mars/root/export/home/nawir/gcc-3.4.0/libiberty'
make: *** [all-libiberty] Error 2

4. Same error happen when I try to compile gnu
binutils

Anyone ever success compiling GCC 3.40 in Solaris
10b55 Sparc

thanks


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



More information about the Gcc-help mailing list