Thanks for these people's help, now I can use gcc happily. Thank you.
Here's the original question:
> Situation: I got a copy of
> sunsite.unc.edu, and I followed the instruction of "Solaris
> Library" readme file to unpack this package with this command:
> "gunzip -c GNUgcc.2.8.1.SPARC.Solaris.2.6.pkg.tgz |
/usr/bin/tar -xvf -"
> successfully in my /var/tmp directory. Right now, in the
> directory, I see a "GNUgcc" directory which contains
> these (I am listing the whole path below):
> I checked the installation file from some web sites, but still
> confused what's the next thing I should do.
> Q: should I copy all the stuff in the above directories to
> directories? Or, are there any other steps I should do so I
> GNUgcc successfully in our Sun Sparc machine?
cd to /var/tmp and do a
pkgadd -d . GNUgcc
as root and that should install the package whereever it want's to
The simplest way to install gcc 2.8.1 on Sol 2.6 is to download the
package from http://smc.vnet.net/solaris_2.6.html
<http://smc.vnet.net/solaris_2.6.html> . Gunzip the pkg and do a
pkgadd -d nameoffile where nameoffile is the gunzipped file. This will
install gcc on your system. Unless you need to install gcc in a
specific directory this will work.
Did you smile today?
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:47 CDT