I had the same problem, until I did this.  I’m running gcc 3.3.2.  This is available on the sunfreeware.com site.

·         Note that this version of gcc was created on build 60 of Solaris 10. If you are using a higher version, you will need to redo some of the header files. This is done by doing the following steps:

·                cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/
·                 
·                Put the line SHELL=/bin/sh on the first line of the mkheaders.conf
·                file.  Then run
·                 
·                ./mkheaders
·                 
·                This will correct some files and make the build 60 gcc usable on 
·                higher builds.  I have tested this on build 72 and it works fine.

After the “./bcc.sh” and “make” ran, the “make test” ran and appeared to fail miserably (0/108 tasks successfully completed) , but the “make install” ran just fine.  I’ll have to play around a bit more to see if it was as successful as I think it might be.

 

Reply via email to