The UNIX and Linux Forums  

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
Script required to get a required info from file. Pls. help me. ntgobinath Shell Programming and Scripting 2 05-31-2008 05:34 AM
help needed urgently nabmufti Shell Programming and Scripting 11 02-11-2008 04:17 AM
Need help urgently user_prady Shell Programming and Scripting 3 09-03-2007 06:51 PM
Need Information Urgently. sumit_krishan UNIX for Dummies Questions & Answers 3 06-08-2005 03:13 AM
pls help urgently....for SUNfire 280R girish_shukla SUN Solaris 3 05-07-2004 01:29 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2008
Registered User
 

Join Date: May 2008
Posts: 3
CC Solution Required Urgently

Hi there,
My question is:

If the command cc is executed on obelix, what executable file will be run? Using the results of whereis, which and any other commands you consider necessary, explain why this file is executed.

Please help as soon as possible
thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-28-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,493
This sounds like homework - which is against forum rules.
which cc tells you the name of the executable that will be run. The "weenie" with this is that cc also runs cpp and ld, but there is no way to know that from the commands you listed. You get it from the man page.

...assuming obelix has ld, cc, and cpp, which are all part of most unix implementations.
Reply With Quote
  #3 (permalink)  
Old 05-28-2008
Registered User
 

Join Date: May 2008
Posts: 3
what is obelix?
Reply With Quote
  #4 (permalink)  
Old 05-29-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,493
I'm assuming it is an "obscure unix variant" as far as the person asking the original question goes. Maybe he/she had it confused with mobilix (tuxmobil) which is a linux for mobile devices -- I do not know for sure. I do know that Obelix is a comic book character. There is no Obelix unix variant to my knowledge. Asterix is the comic buddy for Obelix.
Reply With Quote
  #5 (permalink)  
Old 05-29-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,094
Curiously, the person asking "what is obelix" is also the person who asked the original question. We can't know, buddy; ask the person who gave you this homework in the first place. Maybe it's the name of a server at your school?
Reply With Quote
  #6 (permalink)  
Old 05-29-2008
Registered User
 

Join Date: Oct 2006
Location: Belgium
Posts: 171
Quote:
Originally Posted by satty View Post
what is obelix?
Obelix - Wikipedia, the free encyclopedia

Reply With Quote
Google UNIX.COM
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:18 PM.


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

Content Relevant URLs by vBSEO 3.2.0