Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam creates libraries names with "vc" instead of "vc80" when compiling for wince
From: Robert Collyer (rcollyer_at_[hidden])
Date: 2011-03-30 09:06:53


Mike,
The error is expected due to how the jam language is parsed. It can't
tell that the colon in "8.0~evc:" is supposed to be a distinct entity.
In fact, every phrase must be separated by spaces, that is why even the
semicolon at the end of a rule must have a space between it and the
preceding phrase.

Rob

On 3/30/11 8:00 AM, Krajnak, Mike (GE Healthcare) wrote:
> Thanks for the suggestion, but changing to:
>
> msvc : 8.0~evc :
>
> does not seem to have any effect, it builds just as before with just
> "vc".
>
> Oddly enough, if I omit the space between "8.0~evc" and the ":" I get an
> error:
>
> boost_1_43_0/tools/build/v2/build\toolset.jam:38: in toolset.using
> *** argument error
> * rule msvc.init ( version ? : command * : options * )
> * called with: ( 8.0~evc: D:/Program Files/Microsoft Visual Studio
> 8/VC/bin/cl.exe : ...
>
> But that's probably not relevant, but as you said, picky.
>
> Thanks again,
>
> Mike
>
>
> -----Original Message-----
> Date: Tue, 29 Mar 2011 11:38:58 -0600
> From: David Deakins<ddeakins_at_[hidden]>
> To: boost-build_at_[hidden]
> Subject: Re: [Boost-build] bjam creates libraries names with "vc"
> instead of "vc80" when compiling for wince
> Message-ID:<imt5fj$fn5$1_at_[hidden]>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
>
> On 3/29/2011 6:27 AM, Krajnak, Mike (GE Healthcare) wrote:
>> When I build boost for WinCE using VS2005 I expect the libraries to
>> include ?vc80? in the name, for example
> libboost_regex-vc80-mt-sgdp.lib.
>> But instead of vc80 it just has ?vc?, libboost_regex-vc-mt-sgdp.lib.
>>
> In your user-config.jam file, I see you have something like this:
>
> using msvc : evc8 :
> "D:/Program Files/Microsoft Visual Studio 8/VC/bin/cl.exe" :
> <compileflags>-D_CRT_SECURE_NO_WARNINGS
> ...
>
> If you change your version parameter to:
>
> using msvc : 8.0~evc :
> "D:/Program Files/Microsoft Visual Studio 8/VC/bin/cl.exe" :
> <compileflags>-D_CRT_SECURE_NO_WARNINGS
> ...
>
> Does that have any effect? I seem to remember that Boost.Build is picky
> about the formatting of that version parameter (but I could be
> mis-remembering).
>
> -Dave
>
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


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