Hallo Ashley, On Tue, Dec 14, 2004 at 08:55:06AM +0100, Ashley Enowmpey wrote:
Ich habe folgende code mit nur einen printf("") also: Test.c
#include
int main(void) { printf("Hallo Linux!!\n");
return 0; }
mit dem Befehle: compilieren: uvdata@test3/home/uvdata/PTP> gcc -Wall -ggdb -o test -c Test.c ^^ da liegt dann auch dein Fehler.
gcc -Wall -g -o test Test.c sollte das heißen. In der Manpage steht dazu: When you invoke GCC, it normally does preprocessing, compilation, assembly and linking. The ``overall options'' allow you to stop this process at an intermediate stage. For example, the -c option says not to run the linker. Then the output consists of object files output by the assembler. Dann viel Spaß beim programmieren. Greetings Daniel -- The PROPER way to handle HTML postings is to cancel the article, then hire a hitman to kill the poster, his wife and kids, and fuck his dog and smash his computer into little bits. Anything more is just extremism. --Paul Tomblin