This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 2.95.2 build problems on solaris7
- To: gcc-help at gcc dot gnu dot org
- Subject: gcc 2.95.2 build problems on solaris7
- From: Herman Veldhuizen <veldhuih at oslo dot geco-prakla dot slb dot com>
- Date: Wed, 20 Dec 2000 15:25:15 +0100
- Organization: http://www.slb.com
Hi,
I have problems to build gcc 2.95.2 on Solaris 7.
The configure worked fine:
kepler:/nett/tim3/tools/gnu/objdir>../gcc-2.95.2/configure --prefix
/nett/tim3/tools/install/gcc-2.95.2_sol7 --enable-threads
--enable-languages=c++
Configuring for a sparc-sun-solaris2.7 host.
...
But some time into the 'make bootstrap' I get the error below.
Does anybody have an idea?
Thanks,
Herman.
../../gcc-2.95.2/gcc/frame
make[3]: Entering directory `/nett/tim3/tools/gnu/objdir/gcc'
./xgcc
-B/nett/tim3/tools/install/gcc-2.95.2_sol7/sparc-sun-solaris2.7/bin/
-B./
-I/nett/tim3/tools/install/gcc-2.95.2_sol7/sparc-sun-solaris2.7/include
-O2 -DIN_GCC -DHAIFA -DSVR4 -g -I./include -fPIC -g1
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -g -mt -I.
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include \
-c ../../gcc-2.95.2/gcc/cp/tinfo.cc
cc1plus: Invalid option `t'
make[3]: *** [tinfo.o] Error 1
make[3]: Leaving directory `/nett/tim3/tools/gnu/objdir/gcc'
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/nett/tim3/tools/gnu/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/nett/tim3/tools/gnu/objdir/gcc'
make: *** [bootstrap] Error 2
kepler:/nett/tim3/tools/gnu/objdir>cc -V
ucbcc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
ld: Software Generation Utilities - Solaris/ELF (3.0)
Undefined first referenced
symbol in file
main
/developtools/6.0U1/SUNWspro/WS6U1/lib/crt1.o
ld: fatal: Symbol referencing errors. No output written to a.out
kepler:/nett/tim3/tools/gnu/objdir>which cc
/usr/ucb/cc
kepler:/nett/tim3/tools/gnu/objdir>uname -a
SunOS kepler 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-Enterprise
kepler:/nett/tim3/tools/gnu/objdir>make -version
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.6
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <bug-make@gnu.org>.