CC can not compile GCC

Brian J. Burke bjburke@cablespeed.com
Thu Jul 26 03:00:00 GMT 2001


Dean,
      1.  Solaris does not ship with a working compiler, so downloading the
gcc binaries was the right thing to do.

      2.  Where did you get the binaries from?  Did the instructions tell
you to install them in /usr?  Did you add the directory where the binary gcc
( etc....) exists to your path?  Can you type out the absolute path to gcc
and get it to work ( /usr/bin/gcc or whatever the path is)?

     Another point of importance, if when installing Solaris, you didn't
select the "Developer System Support" ( or higher) software catagory you
won't have "make" or any other native support for application development,
and these aren't part of the gcc package.

b
----- Original Message -----
From: "Dean Harper" <dean.harper@rchagen.com>
To: <gcc-help@gcc.gnu.org>
Sent: Wednesday, July 25, 2001 2:07 PM
Subject: CC can not compile GCC


> Hi,
> I have a fresh install of Sun Solairs 2.6 on an E250 and I'm trying to
> install GCC, but when I run the configure command I get the following
> error;
>
> *** The command 'cc -o conftest -g   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
>
> I download the binaries of gcc and un-tarred them in the /usr directory
> and when I try ro run the configure command I get this error;
>
> cpp: Internal compiler error: program cpp got fatal signal 9
> *** The command 'gcc -o conftest -g   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
>
> any help will be appreciated.
> Thank you in advance
> Dean Harper
>
>



More information about the Gcc-help mailing list