Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 04-10-2010, 09:36 AM   #16
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,194

Rep: Reputation: 105Reputation: 105


Simple, brute force:

# find / -type f -name gcc

If it isn't there, go to and get it. You should also get the gnu tools that go with it -- make (the gnu version), automake, autoconf, and whatever dependencies they call for.
Old 04-10-2010, 01:30 PM   #17
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,724

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
Originally Posted by mn35 View Post
I am working on Solaris 8, and it was there when i came, i dont know its history, how can i know if gcc is installed (its is not found on the paths you mentioned above)
Then, it's probably not installed but choogendyk method will tell you for sure.
man gcc doesn't give anything.
This isn't a reliable test as manual pages won't be in the MANPATH anyway.
I have cc in /usr/ucb/cc

do i download gcc, compile it with cc then use it ?
No, forget about /usr/ucb/cc which is there for historical reason (BSD compatibility for SunOS 4 users in the nineties) and is then of no use for you.
Old 04-12-2010, 01:54 AM   #18
LQ Newbie
Registered: Apr 2010
Location: Beirut, Lebanon
Distribution: Solaris
Posts: 8

Rep: Reputation: 0
I dont have it. :S



compiler, gcc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC compiler j360 Programming 3 02-10-2010 10:37 PM
gcc compiler. lchisholm Linux - Newbie 2 04-12-2009 11:29 AM
What are the commands to use to check whether the gcc compiler is working? babyswan Linux - Software 19 07-20-2007 02:19 AM
GCC Compiler rr_rr_29 Linux - Software 2 10-17-2005 05:14 AM
GCC Compiler..... mani_iips Linux - Newbie 4 08-08-2005 09:55 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration