public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* NEWBIES WANTS HELP: hello.c WONT COMPILE
@ 2000-01-04 23:04 ext
  2000-04-01  0:00 ` ext
  0 siblings, 1 reply; 4+ messages in thread
From: ext @ 2000-01-04 23:04 UTC (permalink / raw)
  To: gcc-help

.. 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");
    }"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* NEWBIES WANTS HELP: hello.c WONT COMPILE
  2000-01-04 23:04 NEWBIES WANTS HELP: hello.c WONT COMPILE ext
@ 2000-04-01  0:00 ` ext
  0 siblings, 0 replies; 4+ messages in thread
From: ext @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gcc-help

.. 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");
    }"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* NEWBIES WANTS HELP: hello.c WONT COMPILE
  2000-01-05  0:08 ext
@ 2000-04-01  0:00 ` ext
  0 siblings, 0 replies; 4+ messages in thread
From: ext @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gcc-help

.. 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");
       }"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* NEWBIES WANTS HELP: hello.c WONT COMPILE
@ 2000-01-05  0:08 ext
  2000-04-01  0:00 ` ext
  0 siblings, 1 reply; 4+ messages in thread
From: ext @ 2000-01-05  0:08 UTC (permalink / raw)
  To: gcc-help

.. 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");
       }"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-04 23:04 NEWBIES WANTS HELP: hello.c WONT COMPILE ext
2000-04-01  0:00 ` ext
2000-01-05  0:08 ext
2000-04-01  0:00 ` ext

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).