Mail Archives: djgpp/1995/04/05/17:16:36
To whom it may concern;
I am having trouble transfering DJGPP compiled "executables" to
other DOS machines. The executables work fine on the machine on which
they were compiled. Here is what I do:
1) Compile using gcc command, no flags except -o.
2) Copy go32.exe and the "executable" created by the compiler onto a
floppy disk.
3) Copy go32.exe and the "executable" from the floppy onto an empty
directory on the recipient's hard drive.
4) Create a temp directory on this hard drive and SET GO32TMP to it.
5) Try to run the program by entering: go32 <executable name>.
6) The go32 version line appears followed by a "segmentation
violation" error message and what appears to be a table of
addresses.
7) In response to earlier messages on this subject, I've copied
go32.exe into a directory in the recipient's PATH. The results
are identical to those described above.
The recipient's machine is a 486-DX (4 MB) with HIMEM installed,
running DOS 5.00.
Could the problem have something to do with DPMI? Being a UNIX person
I'm unfamiliar with the in's and out's of DPMI. Any help or
suggested reading would be greatly appreciated.
Thanks. Steve McKelvey (mckelvey AT stolaf DOT edu)
- Raw text -