Mail Archives: djgpp-workers/2001/01/14/02:58:05
On Sat, 13 Jan 2001, Mark E. wrote:
> > - the stub used to produce the .exe program should be the same stub
> > distributed with the installed djdev (I didn't forget the GO32STUB
> > feature, I just don't think it's reliable enough, because it
> > depends on DJGPP.ENV).
>
> To locate the stub, the current order is GO32STUB, STUB, then the builtin
> stub. Would changing the order to GO32STUB, STUB, "/dev/env/bin/stubify.exe",
> and builtin stub solve this for you?
Yes (I assume you meant /dev/env/DJDIR/bin/stubify.exe). But I wonder
whether we should add to this list SELFDIR/stubify.exe, where SELFDIR is
the directory part of ld.exe's argv[0]? That would allow ld.exe to DTRT
even if DJGPP.ENV is not there (since DJDIR is computed by the code which
reads DJGPP.ENV).
> > It would also be nice to solve the problem with extra 2KB of garbage
> > in the executables produced by ld.exe, but that's a minor nuisance
> > (and maybe it's already solved, I don't remember).
>
> An attempt by someone (I forget now who) tried generic fix, but it was
> refused. The bnu210b.zip solves it in a DJGPP specific way. I'll take another
> look at this soon.
Thanks!
- Raw text -