delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/31/04:23:29

Date: Wed, 31 Jan 2001 11:13:04 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: Laurynas Biveinis <lauras AT softhome DOT net>, djgpp-workers AT delorie DOT com
Subject: Re: Path defaults in GCC
In-Reply-To: <Pine.SUN.3.91.1010131100500.29266H-100000@is>
Message-ID: <Pine.A41.4.05.10101311053360.86274-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Wed, 31 Jan 2001, Eli Zaretskii wrote:

> 
> On Tue, 30 Jan 2001, Laurynas Biveinis wrote:
> 
> > Today I just discovered that GCC 2.97 does not
> > search for libraries in /dev/env/DJDIR/lib directory,
> > and that seems a showstopper to me. The fix for GCC is pretty
> > trivial (see below; I've made some rearrangements too).
> > However, this should have came up much earlier, so I might
> > be missing something very obvious here.
> 
> Didn't GCC have some special code to expand $DJDIR at runtime, written
> by Robert Hoehne when /dev/env didn't exist yet?
> 
> As for the changes, please make sure they don't break the cross-build 
> environment, both when building GCC as a native or cross-compiler, and 
> when using it later on a Unix box.

It was used in gcc-2.95.X but it's nightmare to get all makefiles and
configure to operate normally when one has to get $DJDIR through without
expansion.  

When You're building for example Linux to DJGPP cross-compiler You are
giving Linux specific prefix like /usr or /usr/local so this all doesn't 
matter.

For Canadian cross builds (like building native compiler for DJGPP or
DJGPP hosted cross-compiler under Linux) one can safely specify in prefix
/dev/env/DJDIR and nothing should break.

For example I'm specifying /dev/env/DJDIR as prefix when I'm building 
native binutils for DJGPP under Linux. 

Andris



- Raw text -


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