After compiling DOSEMU-1.0.0 I'm getting following output from
xdos:
hal:~$ xdos
kernel CPU speed is 200457779 Hz
Running on CPU=586, FPU=1
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0d errorcode: 0x00000000 cr2: 0x00000000
eip: 0x082cb003 esp: 0xbffff82c eflags: 0x00010206
cs: 0x0023 ds: 0x002b es: 0x002b ss: 0x002b
General protection exception
GDT selector: 0x0000
Exception was caused by DOSEMU
------------------------------------------------
/usr/bin/dos : works Ok.
/usr/bin/dos -X : crashes
System: kernel 2.2.15pre13,
gcc-2.95.2 (I tried also egcs-1.1.2 without changes),
binutils-2.95.1.0.27,
glibc-2.1.3
(updated from Slackware-7.0)
Binaries from dosemu-1.0.0-1.i386.rpm works Ok (no such problem)
Configure command
./default-configure --prefix=/usr --enable-linuxstatic \
--enable-dodebug
I didn't get reasonable stack trace with gdb so I'm not including
this info.
Andris