On 10/4/07, Vladimir Prus <ghost@cs.msu.su> wrote:
On Thursday 04 October 2007 23:54:42 Mat Marcus wrote:

> Thanks for the reply. I followed your suggestion. Unfortunately, it seems to
> lead to the same outcome (dialog boxes, failure to call vcvarsall?)
> described in one of my experiments above:
>
> >
> > 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.
>
> Further advice would be greatly appreciated.

Okay, please try this:

        using msvc : 8.0 : "C:\\Program Files (x86)\\Microsoft Visual Studio 8\\VC\\BIN\\cl.exe"
                : <setup>"C:\\Program Files (x86)\\Microsoft Visual Studio 8\\VC\\BIN\\vcvarsall.bat"
                ;

make sure that paths are correct -- I'm not sure I got the path to the script right. If that works,
we can try figuring why original attempts failed.

- Volodya
_______________________________________________

Still doesn't work (when paths are adjusted. (For XP 32 bit: there is no (x86) in the path). Also,vcvarsall.bat lives one directory higher.

As an experiment I also tested in a "Visual Studio 2005 Command Prompt" window. Presumably this is a command window in which vcvarsall.bat has been pre-executed. In this case, I seem to get a little bit further. Now I am seeing a lot of these messages:

cl : Command line warning D9002 : ignoring unknown option '/favor:blend', and an occasional: cl : Command line warning D9025 : overriding '/GR' with '/GR-'
but at least it's compiling now. This kind of makes me wonder about the settings. Thanks for the help so far.Let me know if  you have further advice, or if there are further tests that I might carry out that would assist you in getting this automated.