Newsgroups: comp.os.msdos.djgpp From: Elliott Oti Subject: Re: Well, I've got these old 286 machines... Sender: usenet AT fys DOT ruu DOT nl (News system Tijgertje) Message-ID: <341C389E.271A@stud.warande.ruu.nl> Date: Sun, 14 Sep 1997 19:18:54 GMT Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii References: <3419307F DOT 167EB0E7 AT mltsa DOT lucent DOT com> Mime-Version: 1.0 Organization: Bipolar Widgets International Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 ---------