www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/06/12:13:29

Date: Mon, 6 Jul 1998 19:11:15 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
cc: DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: djgpp alpha 980628
In-Reply-To: <Pine.LNX.3.93.980706165025.15155I-100000@acp3bf>
Message-ID: <Pine.SUN.3.91.980706190645.28501A-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019