Mail Archives: djgpp/1996/10/16/23:30:01
[note: some newsgroups deleted from headers]
mist AT cyberus DOT ca wrote:
>
> >> I am interested in trying to convert the Gnu C preprocessor to run
> >> under DOS. It can run in large-model or huge-model executable. I
> >> haven't yet started to try to do this, I would like some advice from
> >> this newsgroup first.
> >>
> >> Has anyone tried it? Are there architectural reasons why the
> >> preprocessor (just the preprocessor, not the entire compiler) would
> >> have trouble running in 16-bit mode, or with huge-pointers as default?
> >> I specifically want to avoid having to compile it for 32-bit with DOS
> >> extender, I want a *16-bit* executable.
Is your reluctance to use 32-bit code based on not wanting to need a
DPMI extender, or on not having a 32-bit compiler to create the DOS cpp
with?
In any case, in DJGPP v2 there exists a full, completely supported port
of GNU C/C++ to MS-DOS, running in 32-bit DPMI with whatever
provider/host you care to use. It can run on 386 or higher machines
under Windows 3.x, Windows 95, OS/2 dos shell, Linux dosemu, QEMM/QDPMI,
386MAX, or plain DOS using a DPMI host written specifically for DJGPP.
It includes ports of every part of the GNU compiler, including
preprocessor, compiler, assembler, linker, and MUCH more. It is
freeware, and ported, ready-to-compile source for all tools is available
on demand. For info on DJGPP, visit http://www.delorie.com/djgpp or
download the file
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/readme.1st.
BTW, I don't honestly think that the GNU tools can be ported to 16-bit,
but I'm the wrong person to ask. :) There are so many advantages to
running in DPMI that I don't see why anyone would deliberately insist on
16-bit code without some overriding reason.
--
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------
- Raw text -