Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have the source of a program.when i was using linux i had gcc compiler.
./configure
make
make install
Here i have CC compiler.How to compile a program?The program is not only 1 file.c .Is a folder with makefile,header files,C files etc
This tells it to compile file.c into output (object) named file.
gcc and cc are roughly equivalent commands. You should also have make. You may have a rudimentary compiler and need to install an ANSI C compiler for some things (or load gcc and use it).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.