This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Base compiler to install gcc?
- To: help-gcc at gnu dot org
- Subject: Re: Base compiler to install gcc?
- From: Brandon Metcalf <bmetcalf at nortelnetworks dot com>
- Date: Fri, 07 Jan 2000 11:33:04 -0800
- Newsgroups: gnu.gcc.help
- Organization: Nortel Networks
- References: <8551hc$rm7$1@nnrp1.deja.com>
- Xref: wodc7nx0 gnu.gcc.help:2395
lfw57@my-deja.com wrote:
> I'm trying to configure/install gcc so I can later
> install Apache. When running configure, I
> originally received the error "you must set the
> environment variable CC to a working compiler".
> After research on this forum I set the environment
> variable CC=gcc, and am now receiving the same
> error.
>
> I now understand that to install gcc, you need a
> "base" compiler, which this system does not have.
> I'm running Solaris 2.5.
>
> Can someone tell me exactly what I need to install
> and where I can get it?
You need to have a c compiler to compile gcc. There are prebuilt
versions of gcc available. I don't recall off hand where to get one,
but you can probably find pointers at www.gnu.org. You should be able
to find a prebuilt version in the pkg format for solaris.
Brandon