Mail Archives: djgpp/2002/08/29/15:15:17
"Alex Vinokur" <alexvn AT bigfoot DOT com> wrote in message news:akllmi$1jssfv$1 AT ID-79865 DOT news DOT dfncis DOT de...
>
>
> <pavenis AT lanet DOT lv> wrote in message news:3D6E2813 DOT 22689 DOT 778664 AT localhost...
> [snip]
> > I would prefer MINGW for developing Windows applications
>
> What is MINGW ?
>
> > (tried initially RSXNTDJ, but was not satisfied). I may be wrong, but perhaps
> > RSXNTDJ could be Ok for C development. But I'm now sure You'll be able to
> > use C++ standard library (libstdcxx.a).
>
> Of course, I am interested in C++ development.
>
> > If one wants to use other DJGPP tools,
> > one can build DJGPP to MINGW cross-compiler (once did that, needed some
> > hacking though to do that)
>
> Any tips : how to start ?
By the way. MINGW works in Cygwin with no efforts (sorry for off topic)
====== File simple.c : BEGIN ======
/*
* The simplest Windows program you will ever write.
*
* This source code is in the PUBLIC DOMAIN and has NO WARRANTY.
*
* Colin Peters <colinp at ma.kcom.ne.jp>, July 1, 2001.
*/
#include <windows.h>
int STDCALL
WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
{
MessageBox (NULL, "Hello, Windows!", "Hello", MB_OK);
return 0;
}
====== File simple.c : END ========
====== Compilation & Run : BEGIN ======
%gcc -c simple.c
%gcc -o simple simple.o -mwindows
%simple
====== Compilation & Run : END ========
>
> >
> > Andris
> >
> >
> >
>
> Thanks
--
==================
Alex Vinokur
mailto:alexvn AT go DOT to
http://up.to/alexvn
==================
- Raw text -