Supportnet / Forum / Linux
C Compiler
Frage
Hi
ich hab Suse Linux 8.2 und wollte wissen ob es ein compiler für C gibt? ist da schon einer installiert? wenn ja wie heißt der? ich kenn mich noch nicht gut mit linux aus.
vielen dank
ciao
Antwort 1 von LinuxRulez
Ja, dort ist standardmäßig einer installiert. Er heißt GCC.
Du kannst z.B. eine gespeicherte Quelltextdatei Namens "hello.c" mit
MfG LinuxRulez
Du kannst z.B. eine gespeicherte Quelltextdatei Namens "hello.c" mit
gcc hello.c -o test(auf der Konsole eingeben) kompilieren. Sie wird dann automatisch gelinkt (lässt sich auch abstellen) und dann die ausführbare Datei "test" angelegt. gcc kann sowohl C als auch C++ kompilieren.MfG LinuxRulez

