Phani may be trying to build a newer version of gcc than what is shipped with opensolaris?
Phani, you should have gcc installed in /usr/sfw/bin/gcc. If not, you need to install the gcc3 package from the cd or dvd. If you're trying to build a new copy of gcc you're probably going to need to point your CC variable to your current gcc, like this: CC=/usr/sfw/bin/gcc;export CC If you insist on building gcc with the sunstudio compiler, you'd probably need to do this: CC=/opt/SUNWspro/bin/cc;export CC Alternately I *think* you could use the cc in /usr/ccs/lib (CC=/usr/ccs/lib/cc;export CC), but I'm not honestly sure. Also, you might want to make sure that /usr/sfw/bin, /opt/SUNWspro and /usr/ccs/lib are in your path. Hope this helps. This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
