![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiling and Running C Program on Solaris | selva_ss | SUN Solaris | 2 | 02-23-2008 12:02 PM |
| help on compiling a C program on Tiger | cleansing_flame | High Level Programming | 4 | 01-29-2008 03:59 PM |
| Compiling a C program | ooploo | High Level Programming | 3 | 10-06-2006 06:35 AM |
| Compiling a program | Minnesota Red | High Level Programming | 7 | 06-16-2003 04:35 PM |
| Error Compiling C program | Vivek | High Level Programming | 3 | 10-25-2001 11:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
search
Check if you have the cc/gcc installed. If it is so, the PATH variable is not poiniting to the directory where the compiler is located. You have to give the full path of the cc/gcc and try compiling or set the PATH variable to the location where it is and it should work.
|
|
||||
|
may not be installed
cc/gcc is typically installed in /usr/bin. I am not sure about your system. If you want to find where the compiler could be located, run a find command.
find / -name "cc" -print Replace 'cc' with 'gcc' if that is the compiler in your system. |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|