Compiling gcc without an existing cc compiler.

Paul Jarc prj@po.cwru.edu
Wed Jun 12 12:37:00 GMT 2002


"Loo, Peter" <Peter.Loo@bannerhealth.com> wrote:
> Currently the server does not have any compiler installed, so my
> question is how do I install gcc-3.1 on our server without an
> existing C compiler.

You need to find a precompiled package (either gcc or another
compiler) for your platform and use that to compile gcc.  See
gcc-3.1/INSTALL/binaries.html.

> The main reason to install gcc on the server is to have a C
> compiler, but installation process requires an existing C compiler.
> Isn't that a bit NUTS?

Trying to maintain binaries by hand instead of C code would be even
more nuts.


paul



More information about the Gcc-help mailing list