delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/07/19:46:39

From: peliot AT axnd01 DOT cern DOT ch (Philip Eliot)
Newsgroups: comp.os.msdos.djgpp
Subject: New user: problem compiling
Date: 7 Feb 2000 23:43:22 GMT
Organization: CERN European Laboratory for Particle Physics
Lines: 12
Message-ID: <87nlaq$dlm$1@sunnews.cern.ch>
NNTP-Posting-Host: axnd01.cern.ch
X-Trace: sunnews.cern.ch 949967002 14006 (None) 137.138.242.218
X-Complaints-To: news AT sunnews DOT cern DOT ch
X-Newsreader: Tin 1.1 PL5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
  I just installed DJGPP for the first time.  After years of programming in UNix, this is my first foray into windows.  Anyway, after installing I tried to compile hello, world as a test and got the following error message.  I'm working in Windows NT 4.0.

c:/djgpp/lib/crt0.o(.data+0xc2):crt0.s:undefined reference to 'main'
c:/djgpp/lib/libc.a(crt1.0).text+0x44e):crt1.c:undefined reference to 'main'
collect2:ld returned 1 exit status

Any help is much appreciated.
				Thanks,
				   Philip


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019