Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-08 15:37:43


On Monday 08 October 2007 09:01:41 Vladimir Prus wrote:
> On Friday 05 October 2007 02:09:25 Mat Marcus wrote:
> > On 10/4/07, Vladimir Prus <ghost_at_[hidden]> 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.
>
> Have you adjusted the patch to vcvarsall.bat in 'using'? If so, can you provide me
> with:
>
> - your exact user-config.jam
> - output of "bjam -n -d+2 --debug-configuration <other options>"
>
> should that prove insufficient, I'll provide you with msvc.jam with extra
> debug prints, and ask to try again.
>
> > 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.
>
> Strange, I though that /favor:blend is supported by all msvc 8.0 variants :-/

Here's what I've just tried on real msvc install

        using msvc : 8.0 : "C:\\Program Files (x86)\\Microsoft Visual Studio 8\\VC\\bin\\cl.exe" ;

After that

        bjam address-module=64

apears to work OK. So, I'd really need the data requested above to diagnose this.

- Volodya


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