Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cannot build boost::serialization for x64 (crosscompile)
From: Pfligersdorffer, Christian (Christian.Pfligersdorffer_at_[hidden])
Date: 2008-09-23 06:11:02

Hello Vladimir!

Vladimir Prus on Saturday, September 20, 2008 4:05 PM:

> On Friday 19 September 2008 13:16:53 Pfligersdorffer, Christian wrote:
>> using gcc : 4.0.0 : /path/to/ppc_6xx-g++;
> This is what you should do, ideally. It's supposed to pick
> right ar, ld, etc, though.
> Do you have more details what does not work, including output
> with --debug-configuration option.

I have to confess I did not try before writing - this approach works
fine using 1.36! I remember having had that sort of troubles building
1.34 or 1.35. But probably it was using bb.v1 and specifying
GCC_PREFIX... so please accept my apology for mixing things up!

Two prominent examples:

1. building iostreams requires BZIP2_SOURCE and the like to be defined.
That was done in v1 using -sBZIP2_SOURCE=... is that still valid?

2. I want to build static debug serialization library using shared
runtime libraries. If I type

bjam --variant=debug --link=static --runtime-link=shared
--with-serialization stage

I end up with the requested .a but also with .so files. Why?

Thank you for your help!

Christian Pfligersdorffer
Software Engineering

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at