This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Building gcc 3.4.0 on Solaris 10, x86


Hi,

I am building gcc 3.4.0 on Solaris 10 (beta), on x86. I am trying to do this with "Sun Studio 8". (/opt/SUNWspro/bin/cc)

I've downloaded & extracted:
	gcc-3.4.0.tar.bz2
	gcc-core-3.4.0.tar.bz2
	gcc-g++-3.4.0.tar.bz2
	gcc-testsuite-3.4.0.tar.bz2

My "configure" command is:
	mkdir objdir && cd objdir
	../gcc-3.4.0/configure \
		--prefix=/opt/gcc3 \
		--with-as=/usr/ccs/bin/as \
		--with-ld=/usr/ccs/bin/ld

Configure runs fine, but compile barfs with:
/opt/SUNWspro/bin/cc -c -xO3 -xarch=sse -DIN_GCC -DHAVE_CONFIG_H -I. -If -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/f -I../../gcc-3.4.0/gcc/../include -I../intl ../../gcc-3.4.0/gcc/f/bad.c -o f/bad.o
"../../gcc-3.4.0/gcc/f/proj.h", line 37: #error: "You have to use gcc 2.x to build g77."
cc: acomp failed for ../../gcc-3.4.0/gcc/f/bad.c
gmake[1]: *** [f/bad.o] Error 2
gmake[1]: Leaving directory `/usr/local/install/gcc/objdir/gcc'
gmake: *** [all-gcc] Error 2


I don't need g77, just need c en c++. Can gcc be compiled with SUNWspro/cc?

Thx, Joost
--
Joost Mulders             +  email: joost.mulders@sun.com
Technical Consultant      +  phone: +31-33-45-15701
Professional Services     +    fax: +31-33-45-15734
Sun Microsystems          + mobile: +31-6-5198-7268


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