www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/09/11:43:55

From: Alex Crowther <mr_spod AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Win32 linking problem
Date: Sat, 09 Oct 1999 14:37:35 +0100
Organization: not very ...
Lines: 38
Message-ID: <37FF451F.1E0CA4F6@hotmail.com>
References: <37FF42BB DOT 7AAADDDD AT hotmail DOT com>
NNTP-Posting-Host: 194.152.95.220
Mime-Version: 1.0
X-Trace: newsreader3.core.theplanet.net 939476000 5353 194.152.95.220 (9 Oct 1999 13:33:20 GMT)
NNTP-Posting-Date: 9 Oct 1999 13:33:20 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.6 [en] (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I should have pointed out ... I have installed the Win32 extension to djgpp,

which is why my programs compiles but doesnt link, though I better point
that out before everyone said ... install said files first :P

Alex

Alex Crowther wrote:

> 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
> --------------------------------------

--
--------------------------------------
    EMAIL=alex_crowther AT yahoo DOT com
--------------------------------------


- Raw text -


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