Mail Archives: djgpp-workers/2001/03/28/04:57:05
On 28 Mar 2001, at 11:33, Eli Zaretskii wrote:
>
> On Tue, 27 Mar 2001, Laurynas Biveinis wrote:
>
> > > installation (eg. gcc.exe etc is put in $DJDIR/bin2 instead of
> > > $DJDIR/bin, so put it in Your path and You can use it) and that
> >
> > What about introducing $DJDIR/local hierarchy?
>
> As far as I understand, the only thing that is needed to have several
> versions of GCC coexist on the same machine is to rename one of the
> gcc.exe drivers to a different name, such as gcc-2952.exe. Each
> version of GCC should be able to find its own headers, specs, compiler
> passes, and libgcc.a automatically, and the single entry in the [gcc]
> section of DJGPP.ENV is IIRC redundant (if not, you need to add
> another section [gcc-2952]).
I have begun using different bin directory for such files (in my case
$DJDIR/bin2) already for sime time. I configured gcc-3.0 snapshot
using --enable-version-specific-runtime-libs so location of
libstdc++ headers doesn't overlap. Only possible problem I see is
possibility to try to link with wrong libstdcxx.a if $DJDIR/lib is explicitly
specified in libraries search directories. For gcc-3.0 dev. version
I put it in $DJDIR/lib/gcc-lib/djgpp/3.0/
Also one can unpack archive for example in directory d:/foo/bar
and add d:/foo/bar/bin2 at begin of the path and all should work.
It's should not be required to install gcc-3.0 development versions
for DJGPP under $DJDIR (it's different from earlier GCC version)
Andris
PS. I forgot to mention earlier. LFN is REQUIRED for these binaries.
(It's not an official version of course, so I think it's Ok now)
- Raw text -