This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc installation problem
- From: yt wang <yt_y2k at yahoo dot com>
- To: gcc-help at gnu dot org
- Date: Sun, 30 Jun 2002 21:10:53 -0700 (PDT)
- Subject: gcc installation problem
Hi, Sir/Madam:
I have tried to install gcc on solaris 8 platform,
but got stuck. The attached file describes the
problem. Could you please help me if you know how to
resolve it, or direct me to someone who might know it?
thanks a lot in advance,
yt (8-)
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Problem descriptions: (in solaris 8)
1). I create the source directory, gcc-3.0.3:
tar xvf gcc-3.0.3.tar
then, the object directory, gcc-exec:
mkdir gcc-exec
2). I configure the gcc in gcc-exec:
(either ../gcc-3.0.3/configure --prefix=../gcc-3.0.3 --exec-prefix=.
or ../gcc-3.0.3/configure --prefix=../gcc-3.0.3 --exec-prefix=. --disable-nls )
it seems to be successfully done either way.
3). Then, I do the
make bootstrap
It runs for about 65 minutes, then the following situation occurs, and the make got aborted:
....
mkdir .libs
ar rc .libs/libsupc++convenience.a del_op.o del_opnt.o del_opv.o del_opvnt.o eh_alloc.o eh_aux_runtime.o eh_catch.o eh_exception.o eh_globals.o eh_personality.o eh_terminate.o eh_throw.o new_handler.o new_op.o new_opnt.o new_opv.o new_opvnt.o pure.o tinfo.o tinfo2.o vec.o
true .libs/libsupc++convenience.a
creating libsupc++convenience.la
(cd .libs && rm -f libsupc++convenience.la && ln -s ../libsupc++convenience.la libsupc++convenience.la)
/bin/sh ../libtool --tag CXX --tag disable-shared --mode=link /home/arch03/apps/gcc-exe/gcc/xgcc -B/home/arch03/apps/gcc-exe/gcc/ -nostdinc++ -L/home/arch03/apps/gcc-exe/sparc-sun-solaris2.8/libstdc++-v3/src -L/home/arch03/apps/gcc-exe/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -B./sparc-sun-solaris2.8/bin/ -B./sparc-sun-solaris2.8/lib/ -isystem ./sparc-sun-solaris2.8/include -fno-implicit-templates -prefer-pic -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -o libsupc++.la -rpath ./lib del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo eh_globals.lo eh_personality.lo eh_terminate.lo eh_throw.lo new_handler.lo new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo tinfo.lo tinfo2.lo vec.lo -lm
libtool: link: only absolute run-paths are allowed
make[4]: *** [libsupc++.la] Error 1
make[4]: Leaving directory `/home/arch03/apps/gcc-exe/sparc-sun-solaris2.8/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/arch03/apps/gcc-exe/sparc-sun-solaris2.8/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/arch03/apps/gcc-exe/sparc-sun-solaris2.8/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/arch03/apps/gcc-exe'
make: *** [bootstrap] Error 2