Mail Archives: djgpp/1997/01/25/04:25:17
Antonio Carlos Moreirao de Queiroz wrote:
>
> Some programs crash: an example is the Borland C IDE.
> Other programs do not load drivers that they need and exit: examples are
> all the programs compiled in protected mode with Borland Pascal 7.0.
>
> Is this a bug?
The DPMI hosts used by DJGPP and by Borland are not 100% compatible; in
fact they are seldom as much as 50% compatible. One of the biggest
problems is that Borland likes to run in 16-bit DPMI, which causes all
sorts of nasty conflicts with DJGPP's 32-bit DPMI.
There is no real solution to this problem, because the DPMI spec
specifically states that 16 and 32-bit DPMI are not compatible. In
32-bit DPMI, the DOS4GW extender that many commercial apps use is a
semi-crippled DPMI host that has major problems working with
cwsdpmi-based programs.
The best workaround is to simply stop using the Borland programs. For
the IDE, you can substitute RHIDE 1.1 (v2apps/rhide11b.zip), which is a
Turbo C-style IDE written specifically for DJGPP. For Pascal, you can
download the GPC GNU Pascal compiler (v2gnu/gpc20b.zip). It has some
significant differences from Borland Pascal, but for the most part you
can work around these.
Hope this helps!
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Proud owner of what might one | http://www.cs.com/fighteer |
| day be a spectacular MUD... | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------
- Raw text -