Date: Mon, 6 Jul 1998 19:11:15 +0300 (IDT) From: Eli Zaretskii To: Hans-Bernhard Broeker cc: DJ Delorie , djgpp-workers AT delorie DOT com Subject: Re: djgpp alpha 980628 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.