Computing.Net > Forums > Solaris > compiler on Solaris-x86

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

compiler on Solaris-x86

Reply to Message Icon

Name: Springna
Date: October 22, 2002 at 11:57:55 Pacific
OS: Solaris-x86
CPU/Ram: 800
Comment:

Hi,

Before I install GCC-2.95.3, I know that my Solaris8 using original make which is /usr/ccs/bin/make to compile. But if I compile SSH then it shows: cc not found, then some error messages. Then I setup CC to /usr/ucb/cc and make sure PATH has entries like /usr/ccs/bin then /usr/ucb. But the same problems still happens.

Then I install the GCC-2.95.3, and add /usr/local/bin to PATH as the last entry.
then when do the compile, it showing CC=/usr/local/bin/gcc
gcc ...........
gcc....... (some thing...)
and it going through well.

So my question is how can I set up the system to use the original compiler even though GCC is installed ?
what is the purpose to set up CC environment variable?
Is there something wrong about my setup regarding the PATH?

Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: belov
Date: October 22, 2002 at 23:01:44 Pacific
Reply:

CC-It's Sun Workshop C compiler. If you want to install it, bye it from Sun (~1000$)

Or try the trial copy


0

Response Number 2
Name: emilio
Date: November 26, 2002 at 07:40:24 Pacific
Reply:

On my Solaris i use gcc 2.95.3 from sunfreeware.com. Just i renamed /usr/ucb/cc to /usr/ucb/cc.old and i made ln -s /usr/local/bin/gcc /usr/ucb/cc


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Su - No directory! Determine Submask



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: compiler on Solaris-x86

WorkShop compiler on Solaris 8 www.computing.net/answers/solaris/workshop-compiler-on-solaris-8/463.html

c compiling on solaris www.computing.net/answers/solaris/c-compiling-on-solaris/4506.html

how to install the tomcat on solaris x86 www.computing.net/answers/solaris/how-to-install-the-tomcat-on-solaris-x86/1539.html