gcc 2.95.2 failure to make
David Whitt
Whitt.David@Orbital.COM
Wed Mar 14 16:02:00 GMT 2001
So far no luck in getting gcc 2.95.2 installed on our sparc 10 running solaris
7. I need some help.
Note /usr/local is a read only partition from another server. It contains an
earlier native gcc compiler (2.8.1) used for building gcc 2.95.2. So as such all
gcc 2.95.2 executables, manuals, libraries need to go into a place other than
/usr/local (ie. different prefix dir is specified).... see below
host : sparc 10 sparc-sun-solaris2.7
/opt/gcc-srcdir the untarred gcc 2.95.2 source directory
/opt/gcc-objdir the object directory
/opt/gcc-2.95.2 top level prefix. for putting gcc 2.95.2 executables,
libs, manuals, etc need to go here
logged in as superuser and set PATH and location of 2.8.1 GCC as shown below
PATH=/usr/local:/usr/ucb:/etc::/usr/local/bin:/usr/sbin:/usr/bin
CC=/usr/local/bin/gcc
# mkdir /opt/gcc-objdir
# cd /opt/gcc-objdir
# /opt/gcc-srcdir/configure sparc-sun-solaris2.7 --prefix=/opt/gcc-2.95.2
# make bootstrap or # make
make: fatal error:: don't know ho to make target '../lib/system.h'
Current working directory /opt/gcc-objdir/texinfo/makeinfo
*** Error code 1
make: fatal error: command failed for target 'all-recursive'
Current working directory /opt/gcc-objdir/texinfo
*** Error code 1
make: Fatal error: command failed for target 'all-recursive-am'
Current working directory /opt/gcc-objdir/texinfo
*** Error code 1
make: Fatal error: command failed for target 'all-texinfo'
Thanks for any help you can provide
Dave
More information about the Gcc-help
mailing list