[SPARCbook] gcc on Solaris 2.6

John Appleby john at dnsworld.co.uk
Tue Apr 1 11:07:00 CST 2003


Hi,
 
This is probably another totally obvious mail, but I've had a bit of fun
getting gcc to work. This is probably nothing earth shattering, but it
might be of interest to someone. This relates to the gcc 3.2.2 binaries
on sunfreeware.com, but probably is relevant to other installations too.
 
The following packages should be installed to run gcc (you don't need
all of them all the time, but the headers and tools are pretty crucial
if you plan on actually compiling anything):
 
SUNWarc
SUNWbtool
SUNWesu
SUNWsprot
SUNWhea
SUNlWlibm
SUNWlibms
SUNWtoo
 
You also need patch 108908-02 if you have Solaris <=2.6 and as <5.x and
want to support long symbol names (Solaris 2.6 5/98 comes with 4.X);
patch 105633-56 or later for fixing a problem with g++ assuming anything
untyped is an int.
 
Regards,
 
John


More information about the SPARCBook mailing list