This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Base compiler to install gcc?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]