Mail Archives: djgpp/2001/06/06/11:19:13
Eli,
This recipe worked perfectly; some comments and questions are below.
Thanks!
--
jtw
-: > to keep the 2.7.2.1 compiler in addition to the 2.95.3 setup?
-: > Any suggestions on how to arrange this?
-:
-: Try this:
-:
-: - Rename the old gcc.exe to gcc2721.exe.
-:
-: - Create a directory lib/gcc-lib/djgpp/2.721/ and move the old
-: cpp.exe, cc1.exe, and cc1plus.exe from bin to this new directory.
And the old bin/gxx.exe that comes with gcc2721b.zip ?
-: Move the old lib/libgcc.a and lib/specs to that directory as well.
Using lib/specs taken from djdev2.02 and updated to 2.03.
-: - Rename the old lang/ directory to lang-2.721/.
If there is a lang/ directory (which there should be if lgp271b.zip
and/or obc2721b.zip was installed).
-: - Edit djgpp.env and add a [gcc2721] section with this content:
-:
-: [gcc2721]
-: COMPILER_PATH=%DJDIR%/lib/gcc-lib/djgpp/2.721
-: LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib/gcc-lib/djgpp/2.721;%DJDIR%/lib
-: CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang-2.721/cxx;%DJDIR%/include
-:
As you indicated in another message, there should be *no* trailing slash
in the value COMPILER_PATH.
-: Thereafter, you should be able to invoke the old compiler as
-: "gcc2721".
Works like a charm. Just to make sure everything worked, I relocated
gcc2721 and recompiled various packages *before* installing a newer GCC.
Just curious: could the 2.7.2.1 info/ directory be relocated as well,
with appropriate additions to djgpp.env?
- Raw text -