To: djgpp AT sun DOT soe DOT clarkson DOT edu Cc: linux-msdos AT vger DOT rutgers DOT edu Subject: linking go32 apps on linux with i386coff Date: Wed, 1 Mar 1995 09:42:47 PST From: "Marty Leisner" Well, this is interesting... I used i386coff in binutils 2.5.2.7 on linux to make file 3.15... I'm running file as: d:/dos/gnu/bin/go32.exe ~/bin/file -m d:/u/marty/etc/magic. :/u/marty/dos/bin$file * go32 version 1.12 Copyright (C) 1994 DJ Delorie cmp: 80386 COFF executable not stripped diff: 80386 COFF executable not stripped file: 80386 COFF executable not stripped file.exe: MS-DOS executable (EXE) mft.exe: MS-DOS executable (EXE) mft.hlp: data prcc: 80386 COFF executable not stripped prcg: 80386 COFF executable not stripped sdiff: 80386 COFF executable not stripped unix.exe: MS-DOS executable (EXE) xterm.exe: MS-DOS executable (EXE) General Protection Fault at eip=321a eax=00000000 ebx=000028fc ecx=0000000e edx=400c1468 esi=00000000 edi=00000000 ebp=00400668 esp=00400664 cs=d7 ds=cf es=cf fs=cf gs=e7 ss=df cr2=000009e4 Call frame traceback EIPs: 0x0000321a __setstack+166 0x0000326a _exit+22 d:/u/marty/dos/bin$symify fi things seem to working until I hit _exit (this is in dosemu on linux). marty leisner AT sdsp DOT mc DOT xerox DOT com Member of the League for Programming Freedom (http://www.lpf.org) Any sufficiently advanced technology is indistinguishable from magic Arthur C. Clarke, The Lost Worlds of 2001