SUMMARY: Compiling gcc-2.7.2.2 FAQ Dilemma

Mark Fergusson (mferg@ddntl.didata.co.za)
Mon, 21 Apr 1997 19:07:38 +0200

Hello all,

As those who replied "There is no way to do this, you have to use a
working compiler" ( I was hopeing despite the logic behind it, that
there was a way ).

>From Gnuchev Fedor who suggested:

There is no way to compile gcc without C compiler. So the only way out
is
to pick up canned binary for your OS and use it (you need it only on
first
stage only but still cannot get without it).

what you need is gcc-binaries-2.5.6.tar.gz (which is ~1.7Mb)
and looks it had really gone away from prep.ai.mit.edu where it was
picked
originaly

>From Louis Hoo:
There are a lot of precompiled binaries for Solaris here:
http://smc.vnet.net/solaris_2.5.html

Many suggested getting a CD, such as pasken@thunder.slu.edu:
Call Rudy at RhoLabs (1-800-528-4513) and ask for the "Missing CD-ROM'.
This is a nice package that has all of the GNU stuff and alot of other
useful
tools both as pkgadd binaries and pkgadd sources. Works out of the box.
The nice
thing they sell is a Zip drive package. It's a package deal that has a
Zip drive
and the software. THe software includes the stuff to make the Zip drive
work
under the volume maanger and it includes a "rescue disk" that allows you
to boot
off the Zip drive

Thanks also to:
brett@gims.com
Stephen Harris
fpardo@tisny.com
Morgan Jones
Bert N. Shure
Benjamin Cline
szh@zcon.com

and anyone else who replied or replies after this message was sent.

The original question:
Hello all,
>
> I know this has been a regular question in the past:
>
> Solaris does not come with a compiler, so how do I compile ggc in the
> first place.
>
> Answer from the SUN: Obtain an older pre-compiled version from:
> 0) ftp://prep.ai.mit.edu/pub/gnu/sparc-sun-solaris2/
> 1) ftp://ftp.lanet.lv/pub/unix/solaris2/
> 2) ftp://nic.switch.ch/mirror/gnu-sparc-solaris/
> This site is said to contain several programs/libraries for
> Solaris2.X.
> (i.e. gcc, emacs, gdb, libg++, gawk, diff, make, sed)
> 3) ftp://sunsite.unc.edu/pub/gnu/solaris-pkgs/
> 4) ftp.quintus.com/pub/GNU/sparc/
>
> and use that to compile a newer version.
>
> The problem is I have been unsuccessful trying to bring 5M across over
> our Internet link.
> ( Incidentally, I think most of those references no longer exist ). The
> one that was correct was ftp://ftp.lanet.lv/pub/unix/solaris2/
>
> I'm sure there is a way that you can compile gcc without using another
> compiler, but don't see any clear explanation in the documentation.
> Following the instructions, it keeps wanting to use cc.
>