LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gcc ? (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-78872/)

Par4n0iA 08-04-2003 10:21 AM

Gcc ?
 
hi, im working on RedHat 9.0 , and i type in the terminal:

gcc -o [after] [before].c

and it says that there is no such command. what's the command in RedHat 9.0 ?

ksgill 08-04-2003 10:30 AM

Type this in console:
whereis gcc
This should give you location of this command. Usually its in /usr/bin/gcc
Just type the complete path while executing it and it should be fine.
Cool

martinman 08-04-2003 01:37 PM

in redhat, lots of commands are "masked" for users other than a certain root. if you KNOW a command exists but bash is saying it doesn't, try "/sbin/command -blah --bilah-lahf". OR

you could "su -" (with the hyphen), and all commands should have the /sbin in front of them automatically (you still cant see it though)

MartBrooks 08-04-2003 01:39 PM

An alternative explanation is that you simply don't have gcc installed.

Regards

Par4n0iA 08-04-2003 05:43 PM

ohh thx i really did not had it and downloaded it from RH's ftp...


All times are GMT -5. The time now is 05:25 AM.