www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/29/15:15:17

From: "Alex Vinokur" <alexvn AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RSXNTDJ sample : makeall failed
Date: Thu, 29 Aug 2002 22:12:20 +0200
Lines: 73
Message-ID: <aklrn6$1j2gd3$1@ID-79865.news.dfncis.de>
References: <3D6E2813 DOT 22689 DOT 778664 AT localhost> <akllmi$1jssfv$1 AT ID-79865 DOT news DOT dfncis DOT de>
NNTP-Posting-Host: pop03-2-ras1-p82.barak.net.il (212.150.97.82)
X-Trace: fu-berlin.de 1030648359 53559715 212.150.97.82 (16 [79865])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-Mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


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


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