Mail Archives: djgpp/1999/10/09/11:43:55
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 -