Mail Archives: djgpp/1998/11/23/08:20:30
From: | igp AT vlc DOT servicom DOT es (Ignacio García Pérez)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | v2.81 and PMODE
|
Date: | Mon, 23 Nov 1998 13:11:40 GMT
|
Organization: | SERVICOM
|
Lines: | 27
|
Message-ID: | <36595d82.9583266@crispin>
|
NNTP-Posting-Host: | rdsi42.vlc.servicom.es
|
Mime-Version: | 1.0
|
X-Newsreader: | Forte Agent 1.5/32.452
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi, programmers:
Can some one point out the required steps to create a stand-alone
executable using PMODE and DJGPP v2.81 ?
I've done it before with no trouble at all with version 2.7xx, simply
getting the .out file and doing:
copy /b pmodstub.exe myprogram.out
But now when I do it and execute, the PMODE stub complains "not a COFF
file".
So far, I've run GCC in verbose mode, and I see that it always
executes STUBIFY in order to append the default stub to the program. I
thought that I find the way to avoid this last step, I could then add
the PMODE stub, but found no way to tell GCC not to run STUBIFY.
I achieved this by simply renaming STUBIFY so GCC can't find it, but
anyway GCC produces a file which PMODSTUB doesn't like and still
complains "not a COFF file".
Any suggestions ?... the FAQ and the PMODE doc were of no help...
Thanks. Nacho.
- Raw text -