www.delorie.com/djgpp/v2faq/faq009.html | search |
| Previous | Next | Up | Top |
RSXNTDJ is an add-on to DJGPP which allows to develop Win32 programs. This is targeted for Win32 (Windows 9X and NT) and Win32s (Windows 3.X + Win32s) platforms (but the development environment will only run on Windows 9X/NT); it supports DJGPP v2.x and includes debugging tools and an IDE, but it needs to be registered (for a small fee) if you want to develop commercial or shareware applications with it.
RSXNTDJ supports Win32 console, GUI, DLLs and bound programs (the latter can be run on DOS under the RSX extender, as well as on Windows). You can download RSXNTDJ from SimTel.
RSXNTDJ was produced with GCC v2.7.2.1 and DJGPP v2.01. If you use it with later versions of GCC and DJGPP, you might need to tweak the installation a bit. People who succeeded in this feat report that they needed to make the following changes:
PATH
environment variable. (Without this, the resource compiler won't work.)
LIBRARY_PATH
variable.
patch
utility fails.
extern
qualifier, which causes GCC to not compile them into the
object file, and triggers undefined references. The solution is to define the extern
symbol to an empty string in one of the source files which includes the stdio.h header.
pestack
utility, allegedly due to insufficient size of the default stack.
Note that the version of linker ld.exe which comes with RSXNTDJ doesn't print any message if you forget to link in libraries such as libcomct.a and libcomdl.a.
Instead, the produced executables will die with SIGSEGV when run. Sometimes, forgetting to #include
windows.h also produces a program that crashes at run time. You can use
the stock DJGPP version of ld.exe to see the list of the missing functions, and then find out which libraries to add to the link command line (use the nm utility to find out
which libraries contain the required external symbols).
If RSXNTDJ doesn't suit your needs, you can use a few other compilers which target Win32 platforms:
webmaster donations bookstore | delorie software privacy |
Copyright ⌐ 1998 by Eli Zaretskii | Updated Sep 1998 |
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)