This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help Installing GCC
On Wed, Dec 01, 2004 at 03:55:51PM -0500, Jeffrey A. LeGay wrote:
> I am a real newbie to the UNIX world. I am presently trying to get BIND
> 9.3.0 installed on an Ultra 5 box with Solaris 9. I am getting an error
> about, "compiler cannot create executables". From what I am reading it
> sounds like I need a compiler installed on Solaris. I downloaded
> gcc_small-3.4.2-sol9-sparc-local.gz and unzipped it. I now have an
> executable named gcc_smal and I don't know what to do with it. I will
> appreciate any advice on where to go from here!
Hi,
at first, I think this is a bit off topic here, since you're asking how to
install software provided by sunfreeware.com and you should have asked there
if you didn't understand or just haven't read the instructions.
<quote src="http://www.sunfreeware.com/sol26left2.html">
To install a file you have downloaded, follow the example here: For
example, if you were to download a gzipped package
foo-1.00-sol8-sparc-local.gz into directory /tmp, to install this package,
you would use the following commands:
cd /tmp
gunzip foo-1.00-sol8-sparc-local.gz
pkgadd -d foo-1.00-sol8-sparc-local
The pkgadd command must be run as root. Do NOT put a ., ./, or the directory
name in front of the file name in pkgadd!
</quote>
Also make sure that you read the comments on the GCC 3.4.2 package here:
http://www.sunfreeware.com/gcc.html
Especially the first paragraph:
<quote>
To use the gcc package from sunfreeware.com you MUST install all of the SUNW
deveoper packages that come on Sun's Solaris CDs.
</quote>
HTH
--
Claudio