gcc for solaris 2.6

Hi Friends,

Is there any website that I can download gcc for solaris 2.6?

thanks
jen

Try www.gnu.org

Also, bookmark this:

Here is a pretty good web

www.sunfreeware.com

Hi pals,

Thanks for the info. Its really helps a lot.

Hi Jennifer,

What version of gcc did you end up installing? gcc 2.95.3 or 3.0.1? It does not seem as if the website mentioned of any differences between the two.

I am about to install it but not sure which version should work best for me.

Thanks,

Rachael:)

Hi Rachael,

ok, i have installed gcc 2.95.3, if I'm not wrong version 3 if for Solaris 8 platform.

This gcc will only works under /usr/local directory.

Under /usr, there is no local directory, you have to create one and ungzip everything under this directory.

If you did not specify the gcc location in your cshrc. you need to provide the full path.

for example, I'm running vhdlan CC_PATH /usr/local <filename.vhd>

regards
Jen;)

Hi Jennifer,

I did install the 3.x version, having done so, I'll give it a try and if it fails, i'll give your idea a try.

Thanks

Rachael:)

Hi jennifer,
You can download the GCC releases from the sites given here.

http://devresource.hp.com/
this site gives you the gcc of HP-UX version in dept format. you can install using "swinstall" command

http://planetmirror.com/pub/gcc/releases/
This site will give you the various latest releases(2.95.x, 3.x) of gcc download.

hope this might help you.
Regards
Anent

gcc is NOT only working under /usr/local
the path will depend on the time you compile it and what path you assign to "prefix"

i.e. ./configure prefix=/usr/global

then gcc binary will be /usr/global/bin/gcc

Hi yellowfish.

At the download site, there is two version (complied and not complied).

I think you refer to the not complied binary. If that is the case you are right.

But if your download the complied version, you have to put in the /usr/local location which the site mentioned.

regards
jennifer;)