Xref: news-dnh.mv.net comp.os.msdos.djgpp:40 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!EU.net!sun4nl!sci.kun.nl!aurelia.mbfys.kun.nl!gunter From: gunter AT mbfys DOT kun DOT nl (Gunter Windau) Subject: Re: Exec gen by djgpp#2(sorry) Sender: news AT sci DOT kun DOT nl (News owner) Nntp-Posting-Host: aurelia.mbfys.kun.nl Organization: University of Nijmegen, The Netherlands References: <3qibju$gci AT nic-nac DOT CSU DOT net> Date: Thu, 1 Jun 1995 13:38:21 GMT Lines: 30 To: djgpp AT sun DOT soe DOT clarkson DOT edu hshaw AT jupiter DOT calstatela DOT edu (E.I.T.) writes: > Sorry but when i posted i forgot to mention that i DO >convert the unix coffs to EXE with coff2exe file in /bin. That is what >i was talking about. AFter i do this and i reboot ( with the djgpp paths >taken out) the .EXE files give me that error ( cannot exec go32) >I didnt think i need go32 anytime i executed a djgpp executable file.. >do i? > From docs/djgpp/readme.doc: * The extender can be merged to create one .exe file that is the extender and the executable in one file, by using the stub.exe program: coff2exe myprog (this merges stub.exe, and go32.exe is still required) ! coff2exe -s go32.exe myprog (this merges go32.exe) The first case will only work if go32.exe is in your search path, because stub.exe runs it. Alternatively, you can prepend go32.exe itself to an COFF file to get a single executable (stub.exe is much smaller). Note that if you re-compile go32 or stub, you must strip off the symbol table first. Also note that coff2exe is designed to align the executable image for better performance, so coff2exe'd programs will run faster than those built with copy /b. This might help. G\"unter -- G\"unter Windau Email: gunter AT mbfys DOT kun DOT nl Dept. Medical Physics & Biophysics URL: http://www.mbfys.kun.nl/~gunter Nijmegen University (NL) Voice: +31 80 613356 Fax: +31 80 541435