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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-28-2008
satty satty is offline
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
  #2 (permalink)  
Old 05-28-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,643
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.
  #3 (permalink)  
Old 05-28-2008
satty satty is offline
Registered User
  
 

Join Date: May 2008
Posts: 3
what is obelix?
  #4 (permalink)  
Old 05-29-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,643
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.
  #5 (permalink)  
Old 05-29-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
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?
  #6 (permalink)  
Old 05-29-2008
ripat ripat is offline Forum Advisor  
Registered User
  
 

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

Sponsored Links
Closed Thread

Bookmarks

Tags
linux, unix commands

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 10:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
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