Mail Archives: djgpp/1997/09/14/15:49:26
Chris White wrote:
>
> I'd really like to use them to run some stuff to control a train
> set. I've played with a few ideas in C but really want to use C++. The
> problem is the project has to conform to a stringent domestic economic
> policy, i.e. I can do it as long as it costs next to nothing. Hence I'd
> like to use DJGPP to create the software. I've got a 386 portable
> loaded up with DJGPP but I'd like to be able to produce some executables
> I can download to the 286 machines.
>
> Being short of spare time (Ok, being to lazy to start digging through
> the technical basement), I was wondering if anyone could suggest a route
> towards achieving this setup?
>
> Thanks.
djgpp executables only run on 386+ processors.
You need to use a 16-bit real mode C/C++ compiler like Turbo C/Quick C.
If you seek free 16-bit compilers have a look at your nearest SimTel
site (ftp.cdrom.com) in /msdos/c/ and try the small-C compiler or the
(shareware) pcc compiler. (both C only, I'm afraid). A nice alternative
is the quasi-C/assembler language Sphinx C--, which is easy to learn,
and will produce very compact, fast, *.com executables (also in the same
directory).
--
------------ Elliott Oti ---------------
------------- http://www.fys.ruu.nl/~oti ---------
- Raw text -