Date: Mon, 10 Jun 1996 12:01:34 +0200 (IST) From: Eli Zaretskii To: Ulrich Leodolter Cc: djgpp AT delorie DOT com Subject: Re: Problems with stubfiy -g foo.exe In-Reply-To: <199606100524.HAA00293@alpha.at.ludmerfeld> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 10 Jun 1996, Ulrich Leodolter wrote: > > > > stubify -g pcxtoppm.exe > > > > stubedit pcxtoppm.exe runfile=ppmmerge argv0=pcxtoppm > > ^^^^^^^^^^^^^^ > > This shouldn't be necessary. Did you try without it? > > > No, but here is head of main from ppmmerge.c: That was not what I meant. I'm sure that a package as venerable as netpbm knows how to cope with different formats of `argv[0]'. However, the error message that you see probably comes from the DJGPP stub that tries to load the *real* program given its name in the stubinfo, and the bug might be there. What I ask is that you try running it without stubediting argv0 in pcxtoppm.exe and see if that also fails.