The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to execute the rest of the code after commenting multiple lines? Yamini Thoppen Shell Programming and Scripting 12 01-02-2008 09:50 AM
Execute command from terminal on remote machine Ranu Shell Programming and Scripting 0 10-09-2007 01:13 AM
execute windows_executable under Linux tonet UNIX for Dummies Questions & Answers 2 11-18-2006 09:15 AM
how to execute a script on remote machine balireddy_77 Shell Programming and Scripting 4 09-27-2006 04:45 PM
how 2 execute conbal code in unix sushil_d10 Shell Programming and Scripting 1 05-04-2005 05:52 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-28-2006
Registered User
 

Join Date: Sep 2005
Posts: 130
how to execute C code in linux machine

Hi.

I have a C code i want to run that code in linux machine.

i tried with CC command.

but CC command not in my bin dir.

how to run that script.


regards
rajan
Reply With Quote
Forum Sponsor
  #2  
Old 06-28-2006
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
find where cc command is available, compile, link and execute it.

Quote:
how to run that script.
i believe that was a typo.. you meant your code or to execute the binary within a script ?
Reply With Quote
  #3  
Old 06-29-2006
Registered User
 

Join Date: Sep 2005
Posts: 130
Dear matrixmadhan,

I checked cc command but it is not present in my system.

how to run the code in linux michine.
Reply With Quote
  #4  
Old 06-29-2006
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,477
Check for presence of

/usr/bin/gcc

(cc is just a symlink to gcc)

If there is no gcc, that means it is not installed. Install it.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0