
I tried to find what's wrong (no I'm not using NT, I'm using XP) and didn't see anything obvious. I added after: echo ### Using '%BOOST_JAM_TOOLSET%' toolset. the following lines echo ### BOOST_JAM_TOOLSET_ROOT='%BOOST_JAM_TOOLSET_ROOT%' echo ### BOOST_JAM_CC='%BOOST_JAM_CC%' echo ### BOOST_JAM_OPT_JAM='%BOOST_JAM_OPT_JAM%' echo ### BOOST_JAM_OPT_MKJAMBASE='%BOOST_JAM_OPT_MKJAMBASE%' echo ### BOOST_JAM_OPT_YYACC='%BOOST_JAM_OPT_YYACC%' echo ### _known_='_%_known_%_' perhaps the additional output you get will help find the problem. ....this is what I get..... C:\Projects\boost\tools\build\jam_src>build Setting environment for using Microsoft Visual Studio .NET 2003 tools. (If you have another version of Visual Studio or Visual C++ installed and wish to use its tools from the command line, run vcvars32.bat for that version.) ### ### Using 'vc7' toolset. ### BOOST_JAM_TOOLSET_ROOT='C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\\..\..\VC7\' ### BOOST_JAM_CC='cl /nologo /GZ /Zi /MLd -DNT -DYYDEBUG kernel32.lib advapi32.lib' ### BOOST_JAM_OPT_JAM='/Febootstrap.vc7\jam0' ### BOOST_JAM_OPT_MKJAMBASE='/Febootstrap.vc7\mkjambase0' ### BOOST_JAM_OPT_YYACC='/Febootstrap.vc7\yyacc0' ### _known_='_1_' ### At Sunday 2004-06-06 13:03, you wrote:
On Sun, 06 Jun 2004 13:23:23 -0500, Rene Rivera wrote:
Bart Garst wrote:
I'm trying to build the bjam executable by running build.bat from the boost/tools/build/jam_src directory. Here's what I get:
C:\BOOST\TOOLS\BUILD\JAM_SRC>build.bat vc7 ### ### "Unknown toolset: vc7" [snip] I also tried running vcvars32 prior to build.bat and got this: [snip] The system is Windows NT 4.0 SP6. I'm using a fresh cvs checkout of the entire boost source tree.
I'd appreciate any help I can get with this.
After looking intently at the script I can't see any obvious reason for it to fail. Only suggestion I can come up with is to try and see if things work better if you force CMD extensions on: "CMD.EXE /X"
HTH.
Thanks for looking into this Rene.
I tried as you suggested and found that CMD extensions are already enabled by default for backwards compatibility. I did try without forcing extensions: (started cmd with "cmd.exe /y") C:\boost\tools\build\jam_src>build.bat vc7 ### ### Using '' toolset. ###
It then goes about trying to build bjam. It doesn't get very far since it's using no toolset.
Has anyone else been able to successfully build bjam on a similar system/setup?
Thx, Bart
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"