Boost logo

Boost-Build :

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.
>>>>
>>>> Exactly.
>>>
>>> Well, whereas my above statement is as correct as it could be, it's
>>> also
>>> totally useless as far as original problem is concerned, here and
>>> now.
>>>
>>> Armin, go to libs/serialization/build/Jamfile.v2 and find this line:
>>>
>>> : requirements <dependency>../../config/test//BOOST_NO_STD_LOCALE
>>>
>>> and remove the
>>>
>>> <dependency>../../config/test//BOOST_NO_STD_LOCALE
>>>
>>> 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
> implement
> a capability in Boost.Build to run target applications on host using
> some
> kind of simulator, but I don't think this approach is going to help
> much
> 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
I don't.

Robert Ramey


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