Mail Archives: djgpp-workers/1998/06/30/03:12:30
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 -