Mail Archives: djgpp-workers/2001/11/17/01:59:31
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}} \
- Raw text -