delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/26/04:28:10

Sender: brozzis AT mag00 DOT cedi DOT unipr DOT it
Message-Id: <342B7153.28C8@mag00.cedi.unipr.it>
Date: Fri, 26 Sep 1997 10:24:51 +0200
From: Stefano Brozzi <brozzis AT mag00 DOT cedi DOT unipr DOT it>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
Subject: dosemu & djgpp

I'm successfully using DJGPP under Linux.
Since there's something different from djgppfaq 3.4, I'm here.

I'm running linux 2.1.43, dosemu 0.67.5
on latest kernels (like mine) VM86Plus is included in the kernel, 
patches are no more necessary.
I applied no patch to run DJGPP packages.

in /etc/dosemu.conf you *should* (probably _must_) add the line

        secure off

this, as explained in dosemu docs, produces a dosemu less secure on the
linux side (through DPMI, the client can access the whole user space), 
but it's the only way to have gcc.exe & bros. running.
The error given by dosemu attempting to run djgpp/bin/*.exe progs 
with 'secure on' (the default, if not specified) is:

        DPMI: Unhandled Execption 0d - Terminating Client
        It is likely that dosemu is unstable now and should be rebooted

the typo is in the message itself.

DPMI support seems to be more stable, docs says that the statement

        'DPMI emulation is known to be somewhat buggy'

'should have' been solved.
 (but dosemu is still beta-or-less software, so take care).

I've compiled dosemu with standard configure options, even if I had
to change a bit (in the real sense :) the patch is following.

please feel free to let me know if you have the same configuration and
this
do not work for you, even if I'm not an expert and I'll probably be not
able
to solve your problem.
feel free to correct me if I'm wrong
have a nice day

*** lt-threads.h        Thu Sep 25 10:23:02 1997
--- lt-threads.h~       Thu Sep 25 12:32:02 1997
***************
*** 41,45 ****
  
  /* --------------------- for clone stuff */
! #if 0
   #include <linux/sched.h>
  #else
--- 41,45 ----
  
  /* --------------------- for clone stuff */
! #if 1
   #include <linux/sched.h>
  #else



        Stefano

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019