www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/06/30/03:12:30

Date: Tue, 30 Jun 1998 10:12:21 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andris Pavenis <pavenis AT lanet DOT lv>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Some notes about DJDEV202.ZIP
In-Reply-To: <B0000033564@stargate.astr.lu.lv>
Message-ID: <Pine.SUN.3.91.980630101200.6274C-100000@is>
MIME-Version: 1.0

On Mon, 29 Jun 1998, Andris Pavenis wrote:

> > Isn't there any other way to make both 2.7.2 and 2.8.x be happy?  Maybe 
> > some other environment variable that can be used differently by each 
> > version?
> 
> One of thing could be adding support of exceptions to crt0.o 
> instead of using additional file crtf.o as it is done in gcc281b.zip.
> However this will cause MANY problems for many poeple as they
> will need immediatelly replace specs and djgpp.djl files supplied 
> with gcc281b.zip. 

Too gross and risky, IMHO.

How about actually making %DJDIR%/lib/gcc-lib/2.81/lib be part of
LIBRARY_PATH in v2.02's DJGPP.ENV?  For example:

LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib/gcc-lib/2.81/lib;%DJDIR%/lib;%DJDIR%/contrib/grx20/lib

If this works, then gcc 2.7.2 will just try to search a non-existent
directory and settle for %DJDIR%/lib, while gcc 2.8.1 will happily
find its own directory.

The only situation when this will need tweaking is for those who want
to have dual 2.7.2/2.8.1 installation.  But those will need to edit
DJGPP.ENV anyway.

Comments?

- Raw text -


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