LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
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.

Notices


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

Rep: Reputation: 105Reputation: 105

mn35,

Simple, brute force:

# find / -type f -name gcc

If it isn't there, go to http://www.sunfreeware.com 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, 12:30 PM   #17
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
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.
Quote:
man gcc doesn't give anything.
This isn't a reliable test as manual pages won't be in the MANPATH anyway.
Quote:
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, 12:54 AM   #18
mn35
LQ Newbie
 
Registered: Apr 2010
Location: Beirut, Lebanon
Distribution: Solaris
Posts: 8

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

Thanks
 
  


Reply

Tags
compiler, gcc



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 09:37 PM
gcc compiler. lchisholm Linux - Newbie 2 04-12-2009 10:29 AM
What are the commands to use to check whether the gcc compiler is working? babyswan Linux - Software 19 07-20-2007 01:19 AM
GCC Compiler rr_rr_29 Linux - Software 2 10-17-2005 04:14 AM
GCC Compiler..... mani_iips Linux - Newbie 4 08-08-2005 08:55 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:46 AM.

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