Opened 14 years ago
Closed 14 years ago
#2141 closed Bugs (fixed)
(Windows) in tools/jam/src "build.bat toolset" does not recognize toolset
Reported by: | Owned by: | René Rivera | |
---|---|---|---|
Milestone: | Boost.Jam 3.1.17 | Component: | bjam |
Version: | Boost.Jam 3.1.16 | Severity: | Problem |
Keywords: | building bjam windows | Cc: |
Description
In a Windows command prompt, when I type
build.bat mingw
The guy claims I want msvc.
Apparently, in the batch file, the subroutine that tries to determine whether a command line option is of the form "--option" fails.
I had to tweak the batch file to enforce BOOST_JAM_TOOLSET=%1
This had the drawback of forcing me to remove %args% on the very last instruction of the batch file.
Then bjam.exe was build.
gcc (GCC) 3.4.5 (mingw special)
OS: Windows Vista Family Premium 32bits SP1
Processor: AMD Athlon 64 X2 4000+, but you probably don't care.
Change History (4)
comment:1 by , 14 years ago
Component: | None → Building Boost |
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Component: | Building Boost → bjam |
---|---|
Milestone: | Boost 1.36.0 → Boost.Jam 3.1.17 |
Owner: | set to |
Version: | Boost 1.35.0 → Boost.Jam 3.1.16 |
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I have the same problem, with Boost 1.36. From what I've managed to debug, apparently the "set _error_=" idiom has ceased to work in Vista. I've created a following simple batch file to test it:
which results in the following output on Vista:
in comparison to XP's:
Therefore, I suggest to change the "set _error_=" idiom mentioned above to the "color 00" one (found on http://www.ss64.com/nt/if.html ), which seems to still work on Vista, or perhaps to a more explicit sequence of commands similar to that below: