Date: Thu, 4 Jan 1996 11:00:21 -0200 From: Cesar Scarpini Rabak Subject: Re: What do I need for Windows code ? To: Eli Zaretskii Cc: Lee Braiden , djgpp AT sun DOT soe DOT clarkson DOT edu On Thu, 4 Jan 1996, Eli Zaretskii wrote: > > On Wed, 3 Jan 1996, Lee Braiden wrote: > > > Can anyone give me a list of everything I'll need to write "native" > > Windows code with DJGPP ? > > This is from the DJGPP FAQ list (available as faq102.zip from the same > place you get DJGPP): > > 2.5 Q: Can I write MS-Windows applications with DJGPP? > A: Currently, you can only run DJGPP programs under Windows as DOS > apps (i.e. in DOS Box). If you need to write true Windows apps, > try using the RSX extender with EMX port of GCC and RSXWDK kit > for Windows. RSX may be found by anonymous ftp to > ftp.uni-bielefeld.de, in the directory /pub/systems/msdos/misc. > > > 11.5 Q: Where can I get this RSX extender? > A: RSX is available by anonymous ftp from ftp.uni-bielefeld.de in > the directory /pub/systems/msdos/misc. The RSX extender includes > its own FP emulator and can run DJGPP programs in DPMI mode. > People who tried this, report that you must download and unzip > the RSXWDK2 source archive, not only the binaries (otherwise > you'll get General Protection Faults when you try to run DJGPP > programs), and replace your ld.exe with the old one distributed > with DJGPP 1.11m5 (the linker distributed with 1.12m4 aborts > claiming it doesn't have enough memory). See question 8.12 for > details on getting that older ld.exe. > One issue which Lee rose but was not addressed quite well is that you'll need IN ADDITION to the above mentioned stuff the windows.h plus some other windows specific include files (which incidentally have to be processed by an utility which comes in RSXWDK package), PLUS the resource compiler from microsoft RC.EXE. Note that this is a BARE MINIMUN as the windows API documentation must be get some other place as well. As Lee pointed out if one had to get one windows compiler for getting all this stuff, it ist wiser just to stick with that one (execpt if one finds an absolute advantage in using DJGPP instead). Up to this point Microsoft has not released RC.EXE nor its necessary include files in the public domain, so speaking strictly, one had to be owner of a 16/32 bit compiler or at least the Windows SDK (which presently is not being sold separately anymore), in order to use the RSXWDK package in full. I expect this clarify a little more Lee's question.