Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57485 - trunk
From: ghost_at_[hidden]
Date: 2009-11-08 09:03:25


Author: vladimir_prus
Date: 2009-11-08 09:03:25 EST (Sun, 08 Nov 2009)
New Revision: 57485
URL: http://svn.boost.org/trac/boost/changeset/57485

Log:
Make bootstrap.bat work on 64-bit Windows
Text files modified:
   trunk/bootstrap.bat | 13 +++++++++++--
   1 files changed, 11 insertions(+), 2 deletions(-)

Modified: trunk/bootstrap.bat
==============================================================================
--- trunk/bootstrap.bat (original)
+++ trunk/bootstrap.bat 2009-11-08 09:03:25 EST (Sun, 08 Nov 2009)
@@ -7,15 +7,24 @@
 
 ECHO Building Boost.Jam build engine
 if exist ".\tools\jam\src\bin.ntx86\bjam.exe" del tools\jam\src\bin.ntx86\bjam.exe
+if exist ".\tools\jam\src\bin.ntx86_64\bjam.exe" del tools\jam\src\bin.ntx86_64\bjam.exe
 cd tools\jam\src
 
 call .\build.bat > ..\..\..\bjam.log
 @ECHO OFF
 cd ..\..\..
 
-if not exist ".\tools\jam\src\bin.ntx86\bjam.exe" goto :bjam_failure
+if exist ".\tools\jam\src\bin.ntx86\bjam.exe" (
+ copy .\tools\jam\src\bin.ntx86\bjam.exe . > nul
+ goto :bjam_built)
 
-copy .\tools\jam\src\bin.ntx86\bjam.exe . > nul
+if exist ".\tools\jam\src\bin.ntx86_64\bjam.exe" (
+ copy .\tools\jam\src\bin.ntx86_64\bjam.exe . > nul
+ goto :bjam_built)
+
+goto :bjam_failure
+
+:bjam_built
 
 REM Ideally, we should obtain the toolset that build.bat has
 REM guessed. However, it uses setlocal at the start and does


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk