Subject: Re: [Boost-build] Cannot build boost::serialization for x64(crosscompile)
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-09-19 16:57:52
Vladimir Prus wrote:
> On Friday 19 September 2008 22:51:02 Robert Ramey wrote:
>>>>> a) The tests need to be made compile-only or
>>>>> b) You need to find another way to determine whether to build the
>>>>> wide character versions.
>>> Well, whereas my above statement is as correct as it could be, it's
>>> totally useless as far as original problem is concerned, here and
>>> Armin, go to libs/serialization/build/Jamfile.v2 and find this line:
>>> : requirements <dependency>../../config/test//BOOST_NO_STD_LOCALE
>>> and remove the
>>> part of it. Then it should work.
>> Hmmm, I see the problem here. Does anyone have a suggestion which
>> would achieve the desired goal and still permit cross compilation?
> Steven listed two approaches above. Yet another approach is to
> a capability in Boost.Build to run target applications on host using
> kind of simulator, but I don't think this approach is going to help
> in this specific case.
Maybe moving this dependency to the test jamfile from the build jamfile
would do the trick. I'm inclined to try this unless someone sees something
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