Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cannot build boost::serialization for x64 (crosscompile)
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-09-19 12:11:02


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


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