Re: Installing gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Falabella <danf@xxxxxxxxxxxxxxxxx> asks on Thu, 4 Aug 2005
20:59:15 -0400 (EDT) about bootstrapping a build of gcc onto a Sun
Solaris 9 system where there is no C compiler installed yet.

There are a couple of ways to deal with this: Sun now has a fair
amount of free software tools that get installed in /usr/sfw/bin and
/opt/sfw/bin, among them, gcc.  You can find the needed links at

	http://www.sun.com/software/solaris/freeware/
	http://solaris-x86.org/software/freeware.mhtml
	ftp://x86.cs.duke.edu/pub/solaris-x86/bins/index.html

There are versions available for both Solaris 9 and 10; I don't have
any installed on our Solaris 7 or 8 systems.

A second way is to get a prebuilt gcc binary distribution from the
Solaris package archive at

	http://www.ibiblio.org/pub/packages/solaris/sparc/

Once you have a fairly recent gcc installed, you MIGHT be able to use
it to build a newer version of gcc.  I've done hundreds of such builds
of the 3.x and 4.x series on 20+ flavors of Unix, and frankly, I'm
very disappointed in the success rate, which is far poorer than it was
with the 2.9x series.  On my Solaris 9 SPARC systems, I have gcc-3.3
installed. On Solaris 10 SPARC, gcc-3.3.6, and Solaris 10 x86, gcc-3.3

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@xxxxxxxxxxxxx  -
- 155 S 1400 E RM 233                       beebe@xxxxxxx  beebe@xxxxxxxxxxxx -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux