Boost logo

Boost-Build :

Subject: Re: [Boost-build] cross compiling
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-10-15 18:30:45


AMDG

On 10/15/2012 02:44 PM, Larry E. Ramey wrote:
> Yes, that works...... but not quite.
>
>
> It seems like the problem is now, vcvars.bat is getting called with the wrong paramaters. Here is my standard VS2012 b2.exe run with --debug-configuration set:
>
> c:\try2\boost_1_51_0>b2.exe toolset=msvc link=shared threading=multi --without-context --debug-configuration
> <snip>
>
> I think the important stuff is what I put in red: Note that its using toolset msvs-arm, that is due to my project-config.jam and really isn't relavent except to get the build products into their own directory. The point being, a perfectly LEGAL way to invoke vsvars.bat is
>
>
> c:\path\vsvars.bat arm >nul
>
>
> I need to get that option into the matrix. It seems to me that msvc.jam around the setup-command stuff is the place to be working.... but I guess its not a clear case of "if-then". It is reading variables from somewhere else and manufacturing a command line.
>

Yep. Try the attached patch. (I can't test this,
so there may be problems, but I've handled everything
I saw.)

In Christ,
Steven Watanabe




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