X-Authentication-Warning: new-smtp1.ihug.com.au: Host p40-tnt4.syd.ihug.com.au [203.173.134.40] claimed to be acceleron Message-ID: <000f01c16f35$04fca2e0$0a02a8c0@acceleron> From: "Andrew Cottrell" To: Cc: "Charles Sandmann" Subject: GCC 2.9.5.3 DJGPP Build file patch Date: Sat, 17 Nov 2001 17:56:13 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Reply-To: djgpp-workers AT delorie DOT com I have been using two patched files when building GCC 2.9.5.3 from the sources on simtel on my Win 2K and now XP box. The patches are needed becuase under DOS / Windows Bash is not the standard command interpreter, but under Unix it is (or equivalent). The two patches are included below. Are these files maintained by Andris? Please note that GCC 3.02 from simtel builds straight out of the box on Win XP. *** orig\build.bat Thu Mar 29 14:20:46 2001 --- build.bat Thu Oct 11 20:16:28 2001 *************** *** 1,43 **** @echo off echo Configuring GCC-2.95.3... ! redir -eo ./djbuild1.sh config >djconfig.log if errorlevel 1 goto Err echo Building stage 1 compiler... ! redir -eo ./djbuild1.sh gcc1 >stage1.log if errorlevel 1 goto Err echo Building stage 2 compiler... ! redir -eo ./djbuild1.sh gcc2 >stage2.log if errorlevel 1 goto Err echo Building stage 3 compiler... ! redir -eo ./djbuild1.sh gcc3 >stage3.log if errorlevel 1 goto Err echo Comparing stage2 and stage3... ! redir -eo ./djbuild1.sh compare >compare.log if errorlevel 1 goto Err echo Building libio, libiberty, libstdcxx and libgpp... ! redir -eo ./djbuild1.sh libs1 >libs1.log if errorlevel 1 goto Err echo Building Fortran runtime library... ! redir -eo ./djbuild1.sh libs2 >libf2c.log if errorlevel 1 goto Err echo Building CHILL and Objective C runtime libraries... ! redir -eo ./djbuild1.sh libs3 >libs3.log if errorlevel 1 goto Err echo Installing gcc-2.95.2 into temporary directory... ! redir -eo ./djbuild1.sh install >inst.log if errorlevel 1 goto Err echo Creating binary distribution archives... ! redir -eo ./djbuild1.sh mkdist >mkdist.log if errorlevel 1 goto Err goto Done --- 1,43 ---- @echo off echo Configuring GCC-2.95.3... ! redir -eo sh ./djbuild1.sh config >djconfig.log if errorlevel 1 goto Err echo Building stage 1 compiler... ! redir -eo sh ./djbuild1.sh gcc1 >stage1.log if errorlevel 1 goto Err echo Building stage 2 compiler... ! redir -eo sh ./djbuild1.sh gcc2 >stage2.log if errorlevel 1 goto Err echo Building stage 3 compiler... ! redir -eo sh ./djbuild1.sh gcc3 >stage3.log if errorlevel 1 goto Err echo Comparing stage2 and stage3... ! redir -eo sh ./djbuild1.sh compare >compare.log if errorlevel 1 goto Err echo Building libio, libiberty, libstdcxx and libgpp... ! redir -eo sh ./djbuild1.sh libs1 >libs1.log if errorlevel 1 goto Err echo Building Fortran runtime library... ! redir -eo sh ./djbuild1.sh libs2 >libf2c.log if errorlevel 1 goto Err echo Building CHILL and Objective C runtime libraries... ! redir -eo sh ./djbuild1.sh libs3 >libs3.log if errorlevel 1 goto Err echo Installing gcc-2.95.2 into temporary directory... ! redir -eo sh ./djbuild1.sh install >inst.log if errorlevel 1 goto Err echo Creating binary distribution archives... ! redir -eo sh ./djbuild1.sh mkdist >mkdist.log if errorlevel 1 goto Err goto Done *** orig\djbuild1.sh Thu Mar 29 14:20:46 2001 --- djbuild1.sh Thu Oct 11 19:36:10 2001 *************** *** 39,45 **** # # Finally run configure # ! $srcdir/configure --srcdir=$srcdir --disable-shared --verbose \ --with-gxx-include-dir=\\\${prefix}/lang/cxx \ --with-gnu-ld --target=${target-${dft_target}} \ --host=${target-${dft_target}} \ --- 39,45 ---- # # Finally run configure # ! sh $srcdir/configure --srcdir=$srcdir --disable-shared --verbose \ --with-gxx-include-dir=\\\${prefix}/lang/cxx \ --with-gnu-ld --target=${target-${dft_target}} \ --host=${target-${dft_target}} \