Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2003-03-21 07:58:07


Rene Rivera wrote:
> [2003-03-20] Markus Schöpflin wrote:
>
>>>I tried it on NT4SP6. Can't tell you the shell version right now because
>>>I'm at home and not at the office. I will have a look first thing
>>>tomorow morning.
>>
>>The shell version is 4.0 (from the version tab of
>>c:\winnt\system32\cmd.exe).
>>
>>I just tried it with and without the command extensions but no luck.
>
> Darn :-(
>
> I've made some minor changes that might help. Could you try out the attached
> build.bat?

Sorry for the delay...

The bad news: I just tried it and it still doesn't work. The good
news: It fails later...

The command line used was ".\build.bat vc7"

Attached is the debug output of the script.

I'm sorry to tell you that this is my last day where I have access to
WinNT 4.0 so I won't be able to test any further. Sorry about that.

Markus
 --------------080004030802070502040900 Content-Type: text/plain;
name="debug.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="debug.txt"

rem @ECHO OFF
REM Copyrigt (C) 2002 Rene Rivera.
REM Permission to copy, use, modify, sell and distribute this software
REM is granted provided this copyright notice appears in all copies.
REM This software is provided "as is" without express or implied
REM warranty, and with no claim as to its suitability for any purpose.
setlocal
goto Start
set BOOST_JAM_TOOLSET=
REM If no arguments guess the toolset;
REM or if first argument is an option guess the toolset;
REM otherwise the argument is the toolset to use.
if "_vc7_" == "__" (call :Guess_Toolset & if not errorlevel 1 goto Setup_Toolset ) else (call :Test_Option vc7 & if not errorlevel 1 (call :Guess_Toolset & if not errorlevel 1 goto Setup_Toolset ) else (setlocal & endlocal & set BOOST_JAM_TOOLSET=vc7 & shift & goto Setup_Toolset ) )
REM Tests wether the given string is in the form of an option: "-*"
setlocal & endlocal
setlocal
set test=vc7
if not "-" == "v" set _error_=
endlocal
goto :eof
REM Setup the toolset command and options. This bit of code
REM needs to be flexible enough to handle both when
REM the toolset was guessed at and found, or when the toolset
REM was indicated in the command arguments.
REM NOTE: The strange multiple "if ?? == _toolset_" tests are that way
REM because in BAT variables are subsituted only once during a single
REM command. A complete "if ... ( commands ) else ( commands )"
REM is a single command, even though it's in multiple lines here.
if "_vc7_" == "_metrowerks_" (if NOT "__" == "__" (set BOOST_JAM_TOOLSET_ROOT=\ ) )
if "_vc7_" == "_metrowerks_" (if not "__" == "__" (set PATH=C:\Programme\Microsoft Visual Studio .NET\Common7\IDE;C:\Programme\Microsoft Visual Studio .NET\VC7\BIN;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin\prerelease;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\bin;C:\WINNT\Microsoft.NET\Framework\v1.0.3705;C:\oracle\ora81\bin;C:\oracle\ora92\bin;C:\Programme\Oracle\jre\1.3.1\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\Programme\Oracle\jre\1.1.7\bin;C:\Perl\bin\;c:\tools\bin;c:\src\cpp\vib\dll;c:\programme\sni\cscw32\DLL;c:\programme\sni\cscw32\BIN;c:\programme\sni\cscw32\TEST;C:\Programme\doxygen\bin;C:\WINNT\System32\WBEM;C:\WINNT;C:\WINNT\SYSTEM32;C:\Programme\Microsoft Platform SDK\Bin\WinNT\NT4;C:\Programme\Microsoft Platform SDK\Bin\;C:\Programme\Microsoft Platform SDK\Bin\WinNT;;Other Metrowerks Tools\Command Line Tools ) & set BOOST_JAM_CC=mwcc -runtime staticsingle -DNT & set BOOST_JAM_OPT_JAM=-o bootstrap.vc7\jam0.exe & set BOOST_JAM_OPT_MKJAMBASE=-o bootstrap.vc7\mkjambase0.exe & set BOOST_JAM_OPT_YYACC=-o bootstrap.vc7\yyacc0.exe & set _known_=1 )
if "_vc7_" == "_msvc_" (if NOT "_C:\Programme\Microsoft Visual Studio .NET\VC7_" == "__" (set BOOST_JAM_TOOLSET_ROOT=C:\Programme\Microsoft Visual Studio .NET\VC7\ ) )
if "_vc7_" == "_msvc_" (if EXIST "bin\VCVARS32.BAT" (call "bin\VCVARS32.BAT" ) )
if "_vc7_" == "_msvc_" (if not "__" == "__" (set PATH=C:\Programme\Microsoft Visual Studio .NET\Common7\IDE;C:\Programme\Microsoft Visual Studio .NET\VC7\BIN;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin\prerelease;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\bin;C:\WINNT\Microsoft.NET\Framework\v1.0.3705;C:\oracle\ora81\bin;C:\oracle\ora92\bin;C:\Programme\Oracle\jre\1.3.1\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\Programme\Oracle\jre\1.1.7\bin;C:\Perl\bin\;c:\tools\bin;c:\src\cpp\vib\dll;c:\programme\sni\cscw32\DLL;c:\programme\sni\cscw32\BIN;c:\programme\sni\cscw32\TEST;C:\Programme\doxygen\bin;C:\WINNT\System32\WBEM;C:\WINNT;C:\WINNT\SYSTEM32;C:\Programme\Microsoft Platform SDK\Bin\WinNT\NT4;C:\Programme\Microsoft Platform SDK\Bin\;C:\Programme\Microsoft Platform SDK\Bin\WinNT;;bin ) & set BOOST_JAM_CC="bin\cl.exe" /nologo /GZ /Zi /ML -DNT -DYYDEBUG /LIBPATH:"C:\Programme\MicrosoftVisual Studio .NET\VC7\ATLMFC\LIB;C:\Programme\Microsoft Visual Studio .NET\VC7\LIB;C:\Programme\Microsoft Visual Studio .NET\VC7\PlatformSDK\lib\prerelease;C:\Programme\Microsoft Visual Studio .NET\VC7\PlatformSDK\lib;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\lib;C:\Programme\Microsoft Platform SDK\Lib\" kernel32.lib & set BOOST_JAM_OPT_JAM=/Febootstrap.vc7\jam0 & set BOOST_JAM_OPT_MKJAMBASE=/Febootstrap.vc7\mkjambase0 & setBOOST_JAM_OPT_YYACC=/Febootstrap.vc7\yyacc0 & set _known_=1 )
if "_vc7_" == "_vc7_" (if NOT "_C:\Programme\Microsoft Visual Studio .NET\VC7_" == "__" (set BOOST_JAM_TOOLSET_ROOT=C:\Programme\Microsoft Visual Studio .NET\VC7\ ) )
if "_vc7_" == "_vc7_" (if EXIST "C:\Programme\Microsoft Visual Studio .NET\VC7\bin\VCVARS32.BAT" (call "C:\Programme\Microsoft Visual Studio .NET\VC7\bin\VCVARS32.BAT" ) )
"C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\"vsvars32.bat
Setting environment for using Microsoft Visual Studio .NET tools.
(If you also have Visual C++ 6.0 installed and wish to use its tools
from the command line, run vcvars32.bat for Visual C++ 6.0.)
if "_vc7_" == "_vc7_" (if not "_C:\Programme\Microsoft Visual Studio .NET\VC7\_" == "__" (set PATH=C:\Programme\Microsoft Visual Studio .NET\Common7\IDE;C:\Programme\Microsoft Visual Studio .NET\VC7\BIN;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin\prerelease;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\bin;C:\WINNT\Microsoft.NET\Framework\v1.0.3705;C:\Programme\Microsoft Visual Studio .NET\Common7\IDE;C:\Programme\Microsoft Visual Studio .NET\VC7\BIN;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin\prerelease;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\bin;C:\WINNT\Microsoft.NET\Framework\v1.0.3705;C:\oracle\ora81\bin;C:\oracle\ora92\bin;C:\Programme\Oracle\jre\1.3.1\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\Programme\Oracle\jre\1.1.7\bin;C:\Perl\bin\;c:\tools\bin;c:\src\cpp\vib\dll;c:\programme\sni\cscw32\DLL;c:\programme\sni\cscw32\BIN;c:\programme\sni\cscw32\TEST;C:\Programme\doxygen\bin;C:\WINNT\System32\WBEM;C:\WINNT;C:\WINNT\SYSTEM32;C:\Programme\Microsoft Platform SDK\Bin\WinNT\NT4;C:\Programme\Microsoft Platform SDK\Bin\;C:\Programme\Microsoft Platform SDK\Bin\WinNT;;;C:\Programme\Microsoft Visual Studio .NET\VC7\bin ) & set BOOST_JAM_CC="C:\Programme\Microsoft Visual Studio .NET\VC7\bin\cl.exe" /nologo /GZ /Zi /ML -DNT -DYYDEBUG /LIBPATH:"C:\Programme\Microsoft Visual Studio .NET\VC7\ATLMFC\LIB;C:\Programme\Microsoft Visual Studio .NET\VC7\LIB;C:\Programme\Microsoft Visual Studio .NET\VC7\PlatformSDK\lib\prerelease;C:\Programme\Microsoft Visual Studio .NET\VC7\PlatformSDK\lib;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\lib;C:\Programme\Microsoft Visual Studio .NET\VC7\ATLMFC\LIB;C:\Programme\Microsoft Visual Studio .NET\VC7\LIB;C:\Programme\Microsoft Visual Studio .NET\VC7\PlatformSDK\lib\prerelease;C:\Programme\Microsoft Visual Studio .NET\VC7\PlatformSDK\lib;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\lib;C:\Programme\Microsoft Platform SDK\Lib\" kernel32.lib & set BOOST_JAM_OPT_JAM=/Febootstrap.vc7\jam0 & set BOOST_JAM_OPT_MKJAMBASE=/Febootstrap.vc7\mkjambase0& set BOOST_JAM_OPT_YYACC=/Febootstrap.vc7\yyacc0 & set _known_=1 )
if "_vc7_" == "_borland_" (if "_C:\Programme\Microsoft Visual Studio .NET\VC7\_" == "__" (call :Test_Path bcc32.exe ) )
if "_vc7_" == "_borland_" (if "_C:\Programme\Microsoft Visual Studio .NET\VC7\_" == "__" (if not errorlevel 1 (set BOOST_JAM_TOOLSET_ROOT=..\ ) ) )
if "_vc7_" == "_borland_" (if not "_C:\Programme\Microsoft Visual Studio .NET\VC7\_" == "__" (set PATH=C:\Programme\Microsoft Visual Studio .NET\Common7\IDE;C:\Programme\Microsoft Visual Studio .NET\VC7\BIN;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin\prerelease;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\bin;C:\WINNT\Microsoft.NET\Framework\v1.0.3705;C:\Programme\Microsoft Visual Studio .NET\Common7\IDE;C:\Programme\Microsoft Visual Studio .NET\VC7\BIN;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin\prerelease;C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\bin;C:\Programme\Microsoft Visual Studio .NET\FrameworkSDK\bin;C:\WINNT\Microsoft.NET\Framework\v1.0.3705;C:\oracle\ora81\bin;C:\oracle\ora92\bin;C:\Programme\Oracle\jre\1.3.1\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\Programme\Oracle\jre\1.1.7\bin;C:\Perl\bin\;c:\tools\bin;c:\src\cpp\vib\dll;c:\programme\sni\cscw32\DLL;c:\programme\sni\cscw32\BIN;c:\programme\sni\cscw32\TEST;C:\Programme\doxygen\bin;C:\WINNT\System32\WBEM;C:\WINNT;C:\WINNT\SYSTEM32;C:\Programme\Microsoft Platform SDK\Bin\WinNT\NT4;C:\Programme\Microsoft Platform SDK\Bin\;C:\Programme\Microsoft Platform SDK\Bin\WinNT;;;C:\Programme\Microsoft Visual Studio .NET\VC7\bin;C:\Programme\Microsoft Visual Studio .NET\VC7\Bin ) & set BOOST_JAM_CC=bcc32 -WC -w- -q "-IC:\Programme\Microsoft Visual Studio .NET\VC7\Include" "-LC:\Programme\Microsoft Visual Studio .NET\VC7\Lib" /DNT -nbootstrap.vc7 & set BOOST_JAM_OPT_JAM=-ejam0 & set BOOST_JAM_OPT_MKJAMBASE=-emkjambasejam0 & set BOOST_JAM_OPT_YYACC=-eyyacc0 & set _known_=1)
if "_vc7_" == "_como_" (set BOOST_JAM_CC=como & set BOOST_JAM_OPT_JAM=-o bootstrap.vc7\jam0.exe & set BOOST_JAM_OPT_MKJAMBASE=-o bootstrap.vc7\mkjambase0.exe & set BOOST_JAM_OPT_YYACC=-o bootstrap.vc7\yyacc0.exe & set _known_=1 )
if "_vc7_" == "_gcc_" (set BOOST_JAM_CC=gcc & set BOOST_JAM_OPT_JAM=-o bootstrap.vc7\jam0.exe & set BOOST_JAM_OPT_MKJAMBASE=-o bootstrap.vc7\mkjambase0.exe & set BOOST_JAM_OPT_YYACC=-o bootstrap.vc7\yyacc0.exe& set _known_=1 )
if "_vc7_" == "_gcc-nocygwin_" (set BOOST_JAM_CC=gcc -mno-cygwin & set BOOST_JAM_OPT_JAM=-o bootstrap.vc7\jam0.exe & set BOOST_JAM_OPT_MKJAMBASE=-o bootstrap.vc7\mkjambase0.exe & set BOOST_JAM_OPT_YYACC=-o bootstrap.vc7\yyacc0.exe & set _known_=1 )
if "_vc7_" == "_intel-win32_" (set BOOST_JAM_CC=icl /nologo & set BOOST_JAM_OPT_JAM=/Febootstrap.vc7\jam0 & set BOOST_JAM_OPT_MKJAMBASE=/Febootstrap.vc7\mkjambase0 & set BOOST_JAM_OPT_YYACC=/Febootstrap.vc7\yyacc0 & set _known_=1 )
if "_vc7_" == "_mingw_" (set BOOST_JAM_CC=gcc -DMINGW & set BOOST_JAM_OPT_JAM=-o bootstrap.vc7\jam0.exe & set BOOST_JAM_OPT_MKJAMBASE=-o bootstrap.vc7\mkjambase0.exe & set BOOST_JAM_OPT_YYACC=-o bootstrap.vc7\yyacc0.exe & set _known_=1 )
if "_1_" == "__" (call :Error_Print "Unknown toolset: vc7" )
if errorlevel 1 goto Finish
 --------------080004030802070502040900--


Boost-Build 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