Date: Mon, 6 Jul 1998 22:16:46 +0200 (MET DST) From: Hans-Bernhard Broeker To: Martin Str|mberg cc: DJGPP-WORKERS Subject: Re: XLD (was: Re: djgpp alpha 980628) In-Reply-To: <199807061937.VAA01545@sister.ludd.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.