Solved

C Compiler Setup at Solaris7, which way should I go?

Posted on 2003-11-17
6
309 Views
Last Modified: 2013-12-27
Hello!   Everyone,

I just recently loaded Solaris7 on SS10 for my training, and looked for "cc".   Alors, no "cc" came with the System software.   /usr/ucb/cc was found, but it was a script which pointed to /usr/ccs/bin/ucbcc, and there was no "ucbcc" in the desginated directory.   Thus, "cc" doesn't work, of course.   I may just need a good old "cc" for my some trials, and it must be fundamantal.   Yet still I have a trouble finding it.   What do you think?   I have Borland C++4.5 CDs, but they are for DOS and Windows.   Sun's big software package cost $995.   I just need a simple C and/or C++ only.   Thank you for your help!

Mitsuru

0
Comment
Question by:mkido
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 9762757
gcc - download from www.sunfreeware.com
0
 
LVL 6

Expert Comment

by:durindil
ID: 9763172
download gcc 2.95.  It is much smaller than 3 and works for almost everything you would want to compile in Solaris 7.
0
 
LVL 34

Accepted Solution

by:
PsiCop earned 100 total points
ID: 9764074
Yes, some fraudulent waste of oxygen at Sun decided to start omitting the C compiler from Solaris about v2.3 or so. As liddler suggests, the preferred package is the GNU Compiler Collection (gcc). Since you lack a C compiler, you'll need the pre-built binaries, and they are available on sunfreeware.com. Don't bother downloading the sources, just grab the binaries, and install them using pkgadd. The package is built for them to go into /usr/local
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mkido
ID: 9768791
Thank you all.   PsiCop is true, because I don't have C compiler, I even can't compile gcc souce code.   I need to grab the pre-built binaries.   Let me see.   I haven't connected my SS10 to ethernet, so give me some time.   I don't close this session now, for I can ask something a little later.   Bye now.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 9771189
mkido,

The EE culture is that once your Question has been Answered completely, you should close it an award points to the Expert(s) who Answered it. If you wish to ask further Questions, it generally considered bad form to ask one in an existing Question you've left open (unless you're just seeking clarification of the Answer).
0
 

Author Comment

by:mkido
ID: 9883165
Hello!  Many Thank.   I will open and close more quickly in future.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question