This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem Building the gcc compiler
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: Problem Building the gcc compiler
- From: "SAFARIAN, BOB, ALSVC" <safarian at att dot com>
- Date: Fri, 13 Oct 2000 17:19:53 -0400
Hello,
I am trying to install the latest version of gcc compiler
(gcc-2.95.2.tar.gz) on a Sun Netra t1 box. The OS version is Solaris 2.6. I
followed the procedures mentioned in gcc-2.96.2/gcc/INSTALL document until
item 8. So to summarize, I did:
1) make distclean
2) Made sure /usr/bin precedes /usr/ucb in PATH. In fact the value of $PATH
is:
PATH=/usr/sbin:/usr/bin:/usr/local/bin
3) As root ran the configure script, i.e.:
# ./configure
4) Build the compiler as:
# make LANGUAGES="c c++"
and I got the following output which finished with an error, couldn't find
the library ../libiberty/libiberty.a
gcc -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/inclu
de\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2
/../../../..`echo /usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/../
../../../sparc-sun-solaris2.6/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/../.
./../../sparc-sun-solaris2.6/include\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
gcc -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include -c ./cexp.c
gcc -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include \
-DLOCALEDIR=\"/usr/local/share/locale\" \
-c `echo ./intl.c | sed 's,^\./,,'`
gcc -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include \
-DPREFIX=\"/usr/local\" \
-c `echo ./prefix.c | sed 's,^\./,,'`
gcc -c -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include version.c
gcc -c -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include mbchar.c
rm -f obstack.c
ln -s ./../libiberty/obstack.c obstack.c
gcc -c -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include obstack.c
rm -f alloca.c
ln -s ./../libiberty/alloca.c alloca.c
gcc -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include \
-c `echo alloca.c | sed 's,^\./,,'`
true
gcc -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -o cccp cccp.o cexp.o
intl.o prefix.o version.o mbchar.o obstack.o alloca.o
../libiberty/libiberty.a
gcc: ../libiberty/libiberty.a: No such file or directory
make: *** [cccp] Error 1
# echo $env
Would you please shed some light as what has not been setup properly. Should
you require any further info, please don't hesitate to ask.
Thank you and regards,
Bob Safarian
safarian@att.com <mailto:safarian@att.com>
732-420-2232