Date: Tue, 30 Jun 1998 10:12:21 +0300 (IDT) From: Eli Zaretskii To: Andris Pavenis cc: djgpp-workers AT delorie DOT com Subject: Re: Some notes about DJDEV202.ZIP In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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?