?
Solved

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

Posted on 2003-11-17
6
Medium Priority
?
313 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 400 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

752 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