public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* CC can not compile GCC
@ 2001-07-25 11:06 Dean Harper
  2001-07-26  3:00 ` Brian J. Burke
  0 siblings, 1 reply; 2+ messages in thread
From: Dean Harper @ 2001-07-25 11:06 UTC (permalink / raw)
  To: gcc-help

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CC can not compile GCC
  2001-07-25 11:06 CC can not compile GCC Dean Harper
@ 2001-07-26  3:00 ` Brian J. Burke
  0 siblings, 0 replies; 2+ messages in thread
From: Brian J. Burke @ 2001-07-26  3:00 UTC (permalink / raw)
  To: gcc-help

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
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-26  3:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-25 11:06 CC can not compile GCC Dean Harper
2001-07-26  3:00 ` Brian J. Burke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).