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 ? |
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 |
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) |
An alternative explanation is that you simply don't have gcc installed.
Regards |
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. |