GCC for X86 on SOL 10

Need help with GCC package.

I did downloaded the same from sunfreeware.com for i86, however after doing the unzip I am unable to add the same with pkgadd as I am unable to get the sun standard format as SUNWgcc on my system.

Thanks

Hi,

just installed one some time ago with no issues:

# gunzip libgcc-3.4.6-sol10-x86-local\ \(1\).gz
# pkgadd -d libgcc-3.4.6-sol10-x86-local\ \(1\)
# pkginfo | grep -i gcc
application SMClgcc346                       libgcc
system      SUNWgcc                          gcc - The GNU C compiler
system      SUNWgccruntime                   GCC Runtime libraries

sunfreeware is crap because they do not stick with System V package standard, it will install gcc in usr , and gcc must go under /opt. So two solutions , first go to Blastwave.org - An OpenSolaris Community Site and install it from there or download a copmanion CD and install it from CD

sometimes sunfreeware.com is a only place to get binaries from...

Why aren't you simply using Solaris bundled gcc (/usr/sfw/bin/gcc) ?