Boost logo

Boost-Build :

Subject: Re: [Boost-build] Troubles when trying to cross compile boost 1.3.6 serialization package on CYGWIN for PowerPC
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-26 14:38:24


On Sunday 26 October 2008 21:02:10 Ivo Faldini wrote:
>
> Hi,
> After a lot of digging the docs + search, I was able ( I hope )
> to compile regex + serialization package for powerPC,
> of course I needed to "hack"/change gcc.jam in order to "bypass" the
> -mthreads/-Wl --out-implib options that are injected when it detects
> CYGWIN and are wrong for the gcc cross compiler...
> I also had troubles with the serialization package that failed
> to build when trying to build test packages ( as my understanding it are
> not relevant on cross platform builds) and I was forced to remove test
> parts from Jamfile.v2 in serialization package.
> Now I still have a problem that I didn't solved yet and I would
> like to ask: packages are built with .dll suffix instead of .so suffix.
> I would like to know how to instruct bjam to use .so suffix instead of
> .dll sufix ( I don't want to only rename the *.dll into *.so because I
> don't know is it is enough)?

Renaming .dll into .so won't work, I think, since the name encoded inside
the libraries is still .dll.

There's no easy solution for this problem using 1.36. You can replace
tools/build/v2 with the content found in SVN HEAD, and then run bjam as:

        bjam <other options> target-os=linux

and this should cause the right extension to be used. Can you try this?

- 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