The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can i check in csh if command found or not found ? umen Shell Programming and Scripting 2 03-03-2007 07:38 PM
no VGs found b_manu78 AIX 3 10-11-2005 06:13 AM
ksh: cvs: not found ?? rein UNIX for Advanced & Expert Users 2 01-05-2005 05:01 AM
MAC not found? merlin UNIX for Dummies Questions & Answers 1 05-15-2003 10:34 AM
HELP ld.so.1 NOT FOUND SmartJuniorUnix UNIX for Dummies Questions & Answers 1 10-04-2000 04:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-26-2005
asif iqbal asif iqbal is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 10
cc and gcc not found

I am trying to compile c files using cc and gcc commands but getting errors cc and gcc not found. I tried man cc and man gcc still not found.
Can somebody help me this problem.

thanks
  #2 (permalink)  
Old 02-26-2005
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2004
Location: USA
Posts: 511
try finding the location of 'cc' and 'gcc' and append the location to your PATH

find / -name "cc" 2>/dev/null
find / -name "gcc" 2>/dev/null

give you where cc and gcc exist.


export PATH=$PATH:locationofcc:locationofgcc
  #3 (permalink)  
Old 02-26-2005
asif iqbal asif iqbal is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 10
c compiler

I tried that nothing displayed. How can I be positive that a compiler is installed on my machine. Is it optional to have a c compiler when installing SCO OpenServer(TM)?



Quote:
Originally Posted by bhargav
try finding the location of 'cc' and 'gcc' and append the location to your PATH

find / -name "cc" 2>/dev/null
find / -name "gcc" 2>/dev/null

give you where cc and gcc exist.

thanks





export PATH=$PATH:locationofcc:locationofgcc
  #4 (permalink)  
Old 02-26-2005
blp001 blp001 is offline
Registered User
  
 

Join Date: May 2002
Posts: 12
Looks like you don't have a compiler. Not sure on your SCO question but gcc is available for free.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0