From mboxrd@z Thu Jan 1 00:00:00 1970 From: ext@freeuk.com To: gcc-help@gcc.gnu.org Subject: NEWBIES WANTS HELP: hello.c WONT COMPILE Date: Wed, 05 Jan 2000 00:08:00 -0000 Message-id: X-SW-Source: 2000-01/msg00049.html .. i type "gcc hello.c" and i get "/usr/lib/crt1.o(.text+0x36): undefined reference to 'main' " this is an example from RedHat book, where i've taken the CD from. it contained this code " main() { printf("Hello World\n"); }" From mboxrd@z Thu Jan 1 00:00:00 1970 From: ext@freeuk.com To: gcc-help@gcc.gnu.org Subject: NEWBIES WANTS HELP: hello.c WONT COMPILE Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: X-SW-Source: 2000-q1/msg00049.html Message-ID: <20000401000000.A9Cbec_oCUVq5tOqfm1jPYo9R_kLxwje2yc7EDspXlY@z> .. i type "gcc hello.c" and i get "/usr/lib/crt1.o(.text+0x36): undefined reference to 'main' " this is an example from RedHat book, where i've taken the CD from. it contained this code " main() { printf("Hello World\n"); }"