Mail Archives: djgpp/1999/10/09/10:01:35
From: | Alex Crowther <mr_spod AT hotmail DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Win32 linking problem
|
Date: | Sat, 09 Oct 1999 14:27:23 +0100
|
Organization: | not very ...
|
Message-ID: | <37FF42BB.7AAADDDD@hotmail.com>
|
NNTP-Posting-Host: | 194.152.95.220
|
Mime-Version: | 1.0
|
X-Trace: | newsreader1.core.theplanet.net 939475391 13914 194.152.95.220 (9 Oct 1999 13:23:11 GMT)
|
NNTP-Posting-Date: | 9 Oct 1999 13:23:11 GMT
|
X-Complaints-To: | abuse AT theplanet DOT net
|
X-Mailer: | Mozilla 4.6 [en] (Win98; I)
|
X-Accept-Language: | en
|
Lines: | 24
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Probably been asked before ... many times :P but ...
what command line options do I need to get gcc to compile and
link a Win32 program, currently I get the following errors,
C:/bin/djgpp/lib/crt0.o(.data+0xc2(:crt0.s: undefined reference to
'main'
/temp/ccaaaaaa1.o(.txt+0x13):engine.c: undefined reference to 'GetDC'
as well as similar lines for all the other windows calls like
DeleteObject, EndPaint, TextOutA etc etc
For that matter where can I get the documentation for the djgpp gcc/make
and
for compiling win32 stuff under it (if any exists for the latter).
Ta - in advance.
Alex
--
--------------------------------------
EMAIL=alex_crowther AT yahoo DOT com
--------------------------------------
- Raw text -