This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/5187: gcc 3.0.3 fails to bootstrap on Sun Ultra 60 with Solaris 8
- From: "Dr. David Kirkby" <drkirkby at ntlworld dot com>
- To: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Wed, 26 Dec 2001 09:35:12 +0000
- Subject: Re: bootstrap/5187: gcc 3.0.3 fails to bootstrap on Sun Ultra 60 with Solaris 8
- References: <20011225184412.7677.qmail@sources.redhat.com>
rodrigc@gcc.gnu.org wrote:
>
> Synopsis: gcc 3.0.3 fails to bootstrap on Sun Ultra 60 with Solaris 8
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Tue Dec 25 10:44:12 2001
> State-Changed-Why:
> Did you follow the instructions at:
> http://gcc.gnu.org/install/specific.html#*-*-solaris2*
>
> and set your CONFIG_SHELL to ksh?
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5187
I should have added, that after installing autogen, I was still unable to get a
working gcc on my Solaris machine. I had completely forgotten this fact until
after I looked at my emails.
gcc-3.0.3 did bootstrap properly, so perhaps should be the subject of a
different bug report, since it is clearly a different problem. However, it did
fail to install properly, basically giving the following problem. If you feel
this should be under a new bug report, I'm happy to do that.
---problem after autogen is installed and gcc-3.0.3 bootstraps properly----
# cd /usr/local/src/gcc-3.0.3
# configure --prefix=/usr/local/stow/gcc-3.0.3
# make bootstrap
# make install
gcc runs okay:
# /usr/local/stow/gcc-3.0.3/bin/gcc -v
Using builtin specs.
Configured with: configure --prefix=/usr/local/stow/gcc-3.0.3 : (reconfigured)
Thread model: posix
gcc version 3.0.3
This installs gcc, but when I try to compile any C programme (I've not tried
fortran etc), I get reports of an installation problem.
# cat test.c
#include <stdio.h>
main()
{
printf("Hello world\n");
}
parrot /usr/local/src/gcc-3.0.3 # /usr/local/stow/gcc-3.0.3/bin/gcc test.c
gcc: installation problem, cannot exec `cc1': No such file or directory
--
Dr. David Kirkby Ph.D,
email: drkirkby@ntlworld.com
former email address: davek@medphys.ucl.ac.uk
web page: http://www.david-kirkby.co.uk/
Amateur radio callsign: G8WRB