Boost logo

Boost-Build :

From: Mat Marcus (mat-lists_at_[hidden])
Date: 2007-10-04 13:23:41


I am running 32bit windows XP. I would like to use bbv2 (from 1.34.1) to
build 64bit exectuables. I read some threads on this list from January and
July, but I remain unclear on the exact command-line invocation/user-
config.jam that will work. One attempt:

### user-config.jam

import toolset : using ;
using msvc ;

### invocation
 bjam address-model=64 regex

### result
compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\debug\address-model-64\threading-multi\c_regex_traits.obj
'cl' is not recognized as an internal or external command,
operable program or batch file.

---
I also tried adding:
 using msvc : 8.0amd : "C:\\Program Files (x86)\\Microsoft Visual Studio
8\\VC\\BIN\\amd64\\cl.exe" ;
to my user config and then invoking as:
bjam --toolset=msvc-8.0amd address-model=64 regex
In this case, things seem to start out ok, but instead of compilation, I got
a series of dialog boxes indicating that an attempt was being made to
directly execute rsp files. Presumably vcvarsall.bat is not being invoked.
Finally, I tried adding:
 msvc.configure 8.0 : "<command>c:\\Program Files (x86)\\Microsoft Visual
Studio 8\\VC\\BIN\\amd64\\cl" "<setup>C:\\Program Files (x86)\\Microsoft
Visual Studio 8\\VC\\vcvarsall.bat" ;
to my user-config.jam (based on a message from Dave A. from July). This only
results in:
C:\home\user-config.jam:34: in modules.load
rule msvc.configure unknown in module user-config.
Could someone please tell me exactly what I must do to succeed in this
endeavor?
Thanks,
Mat


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