This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
error attempting to compile gcc for Sparc Solaris2.6
- To: "'bug-gcc at prep dot ai dot mit dot edu'" <bug-gcc at gnu dot org>
- Subject: error attempting to compile gcc for Sparc Solaris2.6
- From: Wells Roger <rwells at newedgenetworks dot com>
- Date: Wed, 13 Sep 2000 08:47:06 -0700
- Cc: Wells Roger <rwells at newedgenetworks dot com>
I am attempting to compile and install Gcc in my local directory (that is,
it will not be installed in /usr/local; I do not intend to modify any system
directory and do not have permission to do so.) I downloaded (unzipped and
untarred) gcc-2.95. My home directory is /home/rwells. I am attempting the
installation in /home/rwells/src/gnu/gcc-2.95/gcc. This is the same
directory as where the sources reside.
For the first step, I invoked the configure script as
./configure --prefix=/home/rwells/gnu --exec-prefix=/home/rwells/gnu
My PATH is set (without the newlines)
PATH=:/home/rwells/bin:/usr/bin:/usr/ucb:/etc:/usr/ccs/bin:/usr/local/bin:/u
sr/atria/bin
:/home/vobadm/opt/bin:/usr/dt/bin
:/usr/openwin/bin:/usr/5bin:/opt/netscape
The version of make I use is
RELEASE VERSION s297 make 01/03/97 pasko
[/net/intuitive/export/set/intuitive2/ws/s297/s297_make_dlv_build],
if this makes a difference.
The configure script appeared to run successfully and created Makefile
For the next step, I invoke the make
make LANGUAGES=c
I get a fatal error from make,
gcc: .../libiberty/libiberty.a: No such file or directory
when attempting the statement
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
Previous statements had put several *.o files into ../libiberty but there
appears to be nothing in the Makefile to create libiberty.a.
- Roger Wells
Configuration Manager, New Edge Networks