Installing gcc on SunOS

Hi,

I want to install qmail on SunOS brain 5.10

# uname -a
SunOS brain 5.10 Generic sun4u sparc SUNW,Ultra-60

There is compiler installed on the server to compile qmail.

I tryed to install gcc from ftp.sunfreeware.com

Downloaded gcc-2.95.3-pkg.zip, unziped, got SFWgcc

Now i run

# pkgadd -d SFWgcc
and it got installed.

# pkginfo -l SFWgcc
PKGINST: SFWgcc
NAME: gcc - GNU Compiler Collection
CATEGORY: system
ARCH: i386
VERSION: 2.95.3,REV=2002.04.10.08.40
BASEDIR: /opt
VENDOR: www.gnu.org
DESC: GNU Compiler Collection
PSTAMP: freeware20020410102539
INSTDATE: Oct 09 2005 15:25
HOTLINE: Please contact the owners of this software
STATUS: completely installed
FILES: 325 installed pathnames
4 shared pathnames
2 linked files
19 directories
22 executables
45897 blocks used (approx)

#
But gcc is not working

# gcc
gcc: not found
# which gcc
no gcc in /usr/sbin /usr/bin
#
How do i get the gcc working ?

Regards,

Yujin

 

 

 

 

Top