PR>>> does anyone know of a good c++ compiler?
PR>>> most of the ones i can get are.... not the best...
MB>> GNU C++
MH> Do you know if it'll do OS/2 executables on a DOS system?
Usually people develop DOS programs on OS/2 systems. OS/2 copes far better
than DOS does when a partially-developed DOS program goes haywire. In
theory, GCC can cross-compile. In practice, you are best off by installing
OS/2 and running EMX C++ (the OS/2 port of GCC) natively.
MH> I'm writing a program and Borland 4.52/5.0 don't do OS/2
MH> compilations...
I once wrote a complete 16-bit Standard C library for Borland C++ 3.1 for DOS
that could be used in place of the supplied one, which allowed one to compile
and link 16-bit OS/2 1.x programs. I stopped when Borland released Borland
C++ 1.0 for OS/2, because it made the exercise largely pointless (although my
library was slightly better than Borland's in several areas). Now that
Borland C++ for OS/2, like many of Borland's products, has gone down the
tubes, your best bet for cross-compilation is Watcom C++ 11.0, which can be
hosted on DOS, DOS+Windows 95, Windows NT, or OS/2 Warp, and can create
executables for DOS, extended DOS, Win16, Win32, 16-bit OS/2, and 32-bit
/2.
¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)
|