Computing.Net > Forums > Solaris > cc isn't working!!

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.

cc isn't working!!

Reply to Message Icon

Name: pvijaybhanu
Date: July 22, 2004 at 04:56:08 Pacific
OS: Solaris 9
CPU/Ram: 2.8GHz/2GB
Comment:

tauras/tabasit

which is the optional software that need to be intalled. please provide me the exace tar file

Name: tabasit
Date: April 04, 2004 at 13:50:47 Pacific
Subject: cc isn't working!!
OS: solaris 9
CPU/Ram: 1.4GHz/512MB

Comment:
I just installed solaris 9. cc is not working, and I keep getting this msg ( usr/ucb/cc: language optional software package not installed) where and how can I get cc ,,


Name: taurus
Date: April 05, 2004 at 12:06:52 Pacific
Subject: cc isn't working!!
Reply:

http://www.sunfreeware.com

taurus


P Vijay Bhanu



Sponsored Link
Ads by Google

Response Number 1
Name: sboffin
Date: July 22, 2004 at 06:48:57 Pacific
Reply:

If I remember corrctelly cc is not a free compiler so you need to bye it. But you can use gcc it is the gnu compiler and it is free. You can get it from the gnu web page.
http://gcc.gnu.org/

hope this helps



0

Response Number 2
Name: sunsolnav
Date: July 26, 2004 at 04:32:58 Pacific
Reply:

Hey Vijay ,

You can get a free 30 day trail version of Forte C++ compiler . Install it in a different location ( i.e, /opt or as u wish ) You can keep updating the license ( free ) every 30 days and make use of it .

Add save $$ to your organisation :-))

http://wwws.sun.com/software/sundev/previous/cplusplus/buy.html



0

Response Number 3
Name: sanjaysingh
Date: August 3, 2004 at 18:54:57 Pacific
Reply:

Hello Bro'

Listen up.

As others have mentioned, a basic installation of Solaris will not include Sun's C/C++ compiler. But if you chose the
Developer install when installing Solaris,
you will have the libraries and header files
that need to be in place for other options.

What I mean is that you can pop over to
www.sunfreeware.com and get the latest version of GCC and install it.

When I lay out my filesystems I specifically
set aside a separate /usr/local file system so that I can install cool software from
sunfreeware.com ... you might want to also
have a separate /opt file system.

gcc is a pretty good compiler in that most
open source software packages out there will
compile easily with it. You should also include other GNU utilities like autoconf
gdb, and others to fill out your software
toolset.

BUT... the Sun Workshop/Forte/ONE compiler
(name varies with version you have) is generally a smarter compiler for Sun processors. It will be able to squeeze out more performance than gcc, because while
gcc has some support for Sun-specific features, it cannot support every processor
to the level that Sun's own compiler can.

So if you are compiling scientific or advanced computing software, where runtime
performance is very important, then you
should definitely look into getting a legitimate license for Sun's compiler.

But be prepared to commit some time to learning all the different compiler switches and having to hand-tweak makefiles once in
a while.

Let me know if you have other questions.

S.


0

Response Number 4
Name: JohnUlmer
Date: August 21, 2004 at 13:35:04 Pacific
Reply:

I agree - use gcc instead of cc. And don't forget to
make a symbolic link from usr/ucb/cc to whereever
your gcc is installed.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Solaris 9 machine Maintenance Led light



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: cc isn't working!!

cc isn't working!! www.computing.net/answers/solaris/cc-isnt-working/4148.html

init command doesn't work www.computing.net/answers/solaris/init-command-doesnt-work/2673.html

Nic 3Com 3C905B-TX doesn't work www.computing.net/answers/solaris/nic-3com-3c905btx-doesnt-work/2654.html