[SUMMARY] Looking for gcc package for Solaris 2.4

From: David Foster (foster@dim.ucsd.edu)
Date: Thu Mar 16 2000 - 12:54:42 CST


Needed gcc compiler for Solaris 2.4 system.

About an hour after posting, I remembered that some 7 years ago I used a gcc
package built for Solaris 2.5 on a Solaris 2.3 system with no problems. Some
were kind enough to remind me that this was the case. What I am in dire need
of is a memory upgrade!

Some suggested using a 2.5 build to bootstrap the source for a "clean" build.

Many pre-built packages, including GCC, are available for Solaris 2.3 -> 2.7 at:

        http://metalab.unc.edu/pub/packages/solaris/sparc/
        http://sunsite.informatik.rwth-aachen.de/solarispkg/sparc/ (mirror)

Here's an interesting solution from Jon Wright that I thought was worth
including in its entirety:

   "There is a trick that I used to use to bootstrap gcc onto a new version
   of the O/S. Start on a machine with the same architecture (say your 2.6 system).
   Note that the source and precompiled 2.6 gcc can be got from the solaris
   freeware site. Build the source but do not link it. (i.e. do all the gcc -c
   bits). I used to do this by editing the Makefile after configure was finished
   and pointing the LD option to nowhere so that it would fail. Now copy the whole
   lot to the 2.4 system and continue the build using 'make bootstrap'. This will
   link the compiled bits and build a shakey compiler. It will also rebuild itself
   with the shakey compiler to build a better compiler. Finally it will run
   again and create a good compiler (build 3)."

Thanks so much for everyone's help. Special thanks to Carl Brewer for offering
to send me an old tarball of gcc that he uses to bootstrap gcc under Solaris 2.4.

Arthur Darren Dunham
JON WRIGHT
Marina Daniels
Bill Armand
Bryan Blackburn
Christine Baron
Alexandr Rogov
Wimmer Jeffrey
Shams Mohammad
Sam Mabjish
Carl Brewer
Doug Krause

>
> I am in dire need of gcc on a Solaris 2.4 system which has no
> compiler so I can't build from source. Also, this system cannot
> be on the net (long story).
>
> Any pointers on where to get a gcc package for Solaris 2.4?
> All our other systems are 2.6, and I don't suppose a compiler
> would be backward-compatible.
>
> Thanks, summary to follow.
>

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   David Foster National Center for Microscopy and Imaging Research
    Programmer/Analyst University of California, San Diego
    dfoster@ucsd.edu Department of Neuroscience
    (858) 534-7968 http://www-ncmir.ucsd.edu/
          [All opinions expressed are mine -- duh]
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:04 CDT