X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f Date: Wed, 6 Jun 2001 10:20:59 -0500 From: JT Williams To: Eli Zaretskii Cc: djgpp AT delorie DOT com Subject: Re: __DJGPP__ and MSDOS Message-ID: <20010606102059.A18924@kendall.sfbr.org> Mail-Followup-To: Eli Zaretskii , djgpp AT delorie DOT com References: <20010430093758 DOT A5379 AT kendall DOT sfbr DOT org> <20010504160823 DOT A19921 AT kendall DOT sfbr DOT org> <1438-Sat05May2001094057+0300-eliz AT is DOT elta DOT co DOT il> <20010505102525 DOT A20373 AT kendall DOT sfbr DOT org> <2427-Sat05May2001211736+0300-eliz AT is DOT elta DOT co DOT il> <20010506112025 DOT A21215 AT kendall DOT sfbr DOT org> <2110-Sun06May2001201545+0300-eliz AT is DOT elta DOT co DOT il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <2110-Sun06May2001201545+0300-eliz@is.elta.co.il>; from eliz@is.elta.co.il on Sun, May 06, 2001 at 08:15:45PM +0300 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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?