LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compileing programs under mandrake linux 9.2 (https://www.linuxquestions.org/questions/linux-newbie-8/compileing-programs-under-mandrake-linux-9-2-a-130592/)

exley 01-01-2004 12:52 PM

Compileing programs under mandrake linux 9.2
 
Code:

[exley@localhost hello]$ ls
hello.c*
[exley@localhost hello]$ % cc -g -ohello hello.c
bash: fg: %: no such job
[exley@localhost hello]$ % gcc -g -Wall -ohello hello.c
bash: fg: %: no such job
[exley@localhost hello]$ gcc -g -Wall -ohello hello.c
bash: gcc: command not found
[exley@localhost hello]$ cc -g -ohello hello.c
bash: cc: command not found
[exley@localhost hello]$

Any ideas I'm running mandrake linux 9.2 and trying to learn to program (if i cant compile i think its going to be hard)
thanks ahead of time
Exley
:newbie:

mindwarp 01-01-2004 12:56 PM

When you installed the distribution did you install the developers tools? I think you can install them later by running 'rpmdrake' . Check that out, and also you can do a search in rpmdrake for gcc.


All times are GMT -5. The time now is 10:39 PM.