www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/05/12:41:01

Date: Thu, 5 Dec 1996 19:29:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: camorgan AT amoco DOT com
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP standalone executable question
In-Reply-To: <199612042150.AA17922@interlock.amoco.com>
Message-ID: <Pine.SUN.3.91.961205192715.9964E-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019