|
Boost-Build : |
Subject: Re: [Boost-build] Cannot build boost::serialization forx64(crosscompile)
From: Armin.Pies_at_[hidden]
Date: 2008-09-23 07:57:08
Fact is that with that dependency I cannot successfully build the serialization library for x64 (cross-compile).
If the statement "This dependency only exists for testing. It should not come into play when just building." is correct, then again my question:
Is there a switch to start the whole build without any tests? Obviously they are integrated in the serialization build.
I start the build for ALL boost libraries, not a particular build.
Parameters (again) for bjam (in directory ${boostroot.dir}, which is a property in my ant script):
-sBOOST_ROOT=${boostroot.dir} link=static runtime-link=shared threading=multi toolset=msvc release address-model=64 --stagedir=${boostroot.dir}/stage64 stage
Armin Pies
-----Ursprüngliche Nachricht-----
Von: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] Im Auftrag von Robert Ramey
Gesendet: Montag, 22. September 2008 20:27
An: boost-build_at_[hidden]
Betreff: Re: [Boost-build] Cannot build boost::serialization forx64(crosscompile)
This dependency only exists for testing. It should not come into play when just building.
Robert Ramey
Armin.Pies_at_[hidden] wrote:
> Thank you very much for this hint.
>
> After removing another dependency in that jam file (
> <dependency>../../config/test/all//BOOST_NO_STD_WSTREAMBUF ) the build
> completes successfully.
>
> Regards,
>
> Armin
>
> Armin Pies
> Senior Software Developer
> Development
>
> -----Ursprüngliche Nachricht-----
> Von: boost-build-bounces_at_[hidden]
> [mailto:boost-build-bounces_at_[hidden]] Im Auftrag von Vladimir
> Prus
> Gesendet: Freitag, 19. September 2008 18:11
> An: Boost.Build developer's and user's list
> Betreff: Re: [Boost-build]Cannot build boost::serialization for x64
> (crosscompile)
>
> On Friday 19 September 2008 19:49:37 Vladimir Prus wrote:
>> On Friday 19 September 2008 19:32:43 Steven Watanabe wrote:
>>> AMDG
>>>
>>> Robert Ramey wrote:
>>>>> The boost build for the serialization library integrates tests
>>>>> calling "no_std_wstreambuf_pass.exe" or "no_std_locale_pass.exe"
>>>>> which are, of course, no Win32 applications.
>>>>
>>>> Note that the boost build/test process should build and test these
>>>> applications. If these fails, then wide character versions of the
>>>> serialization library cannot work so they are skipped.
>>>>
>>>
>>> One of two things needs to happen or cross-compiling is just not
>>> going to work.
>>>
>>> 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.
>
> - Volodya
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
> _______________________________________________
> 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