Visit Our UNIX and Linux User Community


Solaris C Compiler for Unix Enviroment ?


 
Thread Tools Search this Thread
Top Forums Programming Solaris C Compiler for Unix Enviroment ?
# 1  
Old 12-04-2001
Data Solaris C Compiler for Unix Enviroment ?

Hello!
Can somebody tell my where to find Solaris C compiler for Unix environment?
Is it available anywhere on the net for free download ?

Thank you for your help!
Smilie
# 2  
Old 12-04-2001
Well, not really a "Sun Compiler", but certainly one of the most popular (and free) is gcc, the GNU C Compiler. You can get it at http://gcc.gnu.org or here at http://www.sunfreeware.com/ .

Have a ball!
# 3  
Old 09-23-2006
How to find C compiler

Hi All,

I have small programme which allows me to run basic Unix command.

I do not know the name of programme but its icon have name, "Ksh",

& i have installed it on XP Professional.

Now i want to write simple " Hello World" programme in C language.

But i do not know that whether my programme has C compiler in-built it.

i tried to complie my helloworld.c programme by this command:

cc helloworld.c

but it gives me this message,

-ksh: cc: not found [No such file or directory]

so i do not know that whether i have C/C compiler in my S/W.

Que - Can you guys tell me how can i find C compiler in my S/W or if i need to install any s/w then pls give me link ASAP.

thanks
Dal Hit
# 4  
Old 09-26-2006
No, you do not have a C compiler. You might want to look at cygwin.

Previous Thread | Next Thread
Test Your Knowledge in Computers #825
Difficulty: Medium
The term API seems to appear for the first time in the article of Ira W. Cotton, Data structures and techniques for remote computer graphics, published in 1968.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Cannot run installed GNU compiler, Solaris 10

Am new to Solaris OS and need to install the GNU cpp compiler. Followed the instructions from Sunfreeware for installing the gcc compiler and it looks as if it correctly installed but i cannot run it from the command window. # cd /usr/local/bin # ls c++ ... (2 Replies)
Discussion started by: brb
2 Replies

2. Programming

how to find if C compiler in Solaris

Hi experts, How do I find if a C compiler is installed on Solaris ? > cc -o ksh: cc: not found > CC ksh: CC: not found > gcc ksh: gcc: not found I am using Solaris 5.8 Thanks, Sameer. (1 Reply)
Discussion started by: ensameer
1 Replies

3. Solaris

C Set++ compiler on Solaris

Can we use C Set++ compiler on Solaris for converting 32-bit application to 64-bit? I wants to use it with lint tools for finding out the erros while porting a code. Any pointers will be helpful. (1 Reply)
Discussion started by: amit_27
1 Replies

4. Programming

C compiler for Solaris 10

First off, I am all new to Unix, so when I require for help, could people please response in plain english and step by step. I am enrol in a university course to do c programming in unix environment. Thus I have downloaded the Solaris 10 Unix OS. Being Solaris, I believe it has Java... (2 Replies)
Discussion started by: Xannen
2 Replies

5. Programming

Solaris C compiler option -Xc

Anyone know what the -Xc option does? Is there an equivalent option for the Gnu compiler? :confused: (3 Replies)
Discussion started by: BCarlson
3 Replies

6. UNIX for Dummies Questions & Answers

C++ compiler for Solaris 10

Does anyone know off-hand if Solaris 10 comes with a C++ compiler, or will I have to install one (GNU, etc)? I have looked through the directories and files, but can't seem to locate anything to indicate that there is one. Thanks in advance. (1 Reply)
Discussion started by: trmn8r
1 Replies

7. Programming

C Compiler for Solaris 8 (Intel)

hi I'm looking for a C Compiler that will run on a Solaris 8 (Intel) platform and that doesn't need to be complied. I've tried gcc binaries but they don't seem to work. Thanx. (5 Replies)
Discussion started by: ianf
5 Replies

8. UNIX for Dummies Questions & Answers

Help! - How do I compile C++ in UNIX Enviroment?

:confused: Hi, does anyone here know how to compile and run C++ in UNIX environment? I am so desperate! Any help is greatly appreciated. Thanks! (3 Replies)
Discussion started by: Kahuashi
3 Replies

9. UNIX for Dummies Questions & Answers

Installing Apache and a C Compiler on Solaris 8

Hi! I just got Ultra 5 computer an installed Solaris 8 on it. I'm trying to install Apache but I'm having some problems... I tried to download a precompiled version of apache, but it seems as if I need a c compiler anyway. When I try to run the configure command I get the following result:... (2 Replies)
Discussion started by: alfabetman
2 Replies

Featured Tech Videos