Mail Archives: djgpp-workers/1998/07/06/12:13:29
On Mon, 6 Jul 1998, Hans-Bernhard Broeker wrote:
> > The special problem with dxegen is that it
> > has the pathname of the linker hard-wired into it, and the cross version
> > uses /usr/local/bla-bla/yada-yada/ variety, which doesn't work on
> > DOS/Windows. That is the only cause I needed to change that. The change
> > is simple: use $(XLD) instead of $(CROSS_LD) to define the name of
> > the linker during dxegen build. $XLD is set as appropriate on each
> > platform.
>
> I may be mistaken, but: this exact change would break the dxegen compiled
> for execution on the build-host in a cross-compilation. It needs special
> handling to ensure it uses the cross-ld, not the system's native one.
$(XLD) is defined as the cross-ld (/usr/local/i386-go32-msdos/bin/ld) in
the case of building on Unix, and as just ld when building on DOS. I
think this is okay.
- Raw text -