linux_freund
26.09.04, 14:21
Hi Leute hab mal ne frage,
also ich wollte letztens mal die Compiler funktion testen von Linux (Suse 9.0) und da hab ich ein kleines Testprogramm geschrieben (C++). So ein "Hallo Welt" Programm.
Als ich das Programm dann Compilieren wollte mit "make hallo.c" kannte Linux gar nicht den Befehl make. Also hab ich dann erstmal den make befehl nachinstalliert von der Suse DVD. Aufjedenfall wenn ich jetzt "make hallo" oder "make hallo.c" eintippe sagt der compiler immer
inux:/home/fabian # make hallo
cc hallo.c -o hallo
make: cc: Kommando nicht gefunden
make: *** [hallo] Fehler 127
linux:/home/fabian # make hallo.c
make: Für das Ziel »hallo.c« ist nichts zu tun.
Hoffe ihr könnt mir weiterhelfen wie ich das testprogramm kompiliert bekomme.
Danke schon mal im vorraus!
also ich wollte letztens mal die Compiler funktion testen von Linux (Suse 9.0) und da hab ich ein kleines Testprogramm geschrieben (C++). So ein "Hallo Welt" Programm.
Als ich das Programm dann Compilieren wollte mit "make hallo.c" kannte Linux gar nicht den Befehl make. Also hab ich dann erstmal den make befehl nachinstalliert von der Suse DVD. Aufjedenfall wenn ich jetzt "make hallo" oder "make hallo.c" eintippe sagt der compiler immer
inux:/home/fabian # make hallo
cc hallo.c -o hallo
make: cc: Kommando nicht gefunden
make: *** [hallo] Fehler 127
linux:/home/fabian # make hallo.c
make: Für das Ziel »hallo.c« ist nichts zu tun.
Hoffe ihr könnt mir weiterhelfen wie ich das testprogramm kompiliert bekomme.
Danke schon mal im vorraus!