Mail Archives: djgpp/1996/12/05/12:41:01
On Wed, 4 Dec 1996 camorgan AT amoco DOT com wrote:
> ) Current DJGPP startup code is incompatible with the stubonly version.
> The psp address in _go32_info_block is not valid (it's computed based
> on an assumption of the layout of the stub which isn't true). Even
> though you may not use the psp address, it is implicitly used by the
> library function fstat() and routines which may call it.
>
> I do not understand these instructions! First of all, I am given a
> method (under "How to Use" above using the "copy /B" command), then
> later on a pitfall says this won't work and to "relink the image" (what
> is an "image"?) Object code?) using the CRT1.o file that is included.
> How is this done? I thought you could only relink "*.o" files; in other
> words, how do I specify my *.EXE file as input along with the CRT1.O
> file?
If you use DJGPP v2.01 (if not, upgrade), you don't have to worry: this
problem was fixed there. You can safely use PMODE to make a stand-alone
executable.
- Raw text -