Mail Archives: djgpp-workers/2001/01/14/06:51:09
On Sun, 14 Jan 2001, Tim Van Holder wrote:
> > 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).
> I believe the stub loading is done by BFD, not ld; so getting (portably) at
> the path to the current executable may not be obvious.
??? BFD may be _reading_ the stub, but I'm guessing that it's the
application (ld, in this case) which tells it from what file to read it.
Otherwise, that would mean that GO32STUB etc. are also pushed to the BFD
level, which I don't think is true.
- Raw text -