www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/06/16:18:14

Date: Mon, 6 Jul 1998 22:16:46 +0200 (MET DST)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: DJGPP-WORKERS <djgpp-workers AT delorie DOT com>
Subject: Re: XLD (was: Re: djgpp alpha 980628)
In-Reply-To: <199807061937.VAA01545@sister.ludd.luth.se>
Message-ID: <Pine.LNX.3.93.980706221330.15155M-100000@acp3bf>
MIME-Version: 1.0

On Mon, 6 Jul 1998, Martin Str|mberg wrote:

> Eli said:
> > $(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.
> 
> Well, unless dxegen is recompiled with LD=gcc or LD=ld, 

IIRC, it is. That's why it's compiled twice, in cross builds: one build is
needed to build emu387.dxe on the build system, the second is the one that
is meant for distribution (or generally, for native use on DOS). 

> Is dxegen from djdev*.zip supposed to work natively?

Of course it is.

> If it is, then I think a little modification to dxegen.c would be
> nice, where it takes which linker to use either from the environment
> or from a command line parameter. Right?

Not needed. On native running, it will use the installed standard
DJGPP 'ld'. But for cross-builds, such a DJGPP standard location
doesn't exist.

Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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