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: Ivo Faldini (Ivo.Faldini_at_[hidden])
Date: 2008-10-28 03:34:01


 

Yes. I'm cross compiling from Cygwin-windows host to linux-PowerPC
target

> -----Original Message-----
> From: Vladimir Prus [mailto:ghost_at_[hidden]]
> Sent: Monday, October 27, 2008 5:51 PM
> To: boost-build_at_[hidden]
> Cc: Ivo Faldini
> Subject: Re: [Boost-build] Troubles when trying to cross compile boost

> 1.3.6 serialization package on CYGWIN for PowerPC
>
> On Monday 27 October 2008 17:17:36 Ivo Faldini wrote:
> >
> > Ok,
> > finally I've succeeded to build the shared libraries ( .so) with the
> > 1.37 beta (it's more better than the previous 1.36 regarding jam
> > problems) applying only a small patch into gcc.jam ( that still
> > inserts --out-implib even that is .so and cross compiler
> and NOT windows).
> >
> > The ugly patch I did is as follows:
> >
> > $ diff -u gcc.jam gcc.jam.org
> > --- gcc.jam 2008-10-27 16:02:18.406250000 +0200
> > +++ gcc.jam.org 2008-10-27 15:10:49.093750000 +0200
> > @@ -501,7 +501,7 @@
> > }
> >
> > .IMPLIB-COMMAND = ;
> > -if [ os.on-windows ] && ! --cross-compile in [
> modules.peek : ARGV ]
> > +if [ os.on-windows ]
> > {
> > .IMPLIB-COMMAND = "-Wl,--out-implib," ;
> > generators.register
> >
> > I inserted an artificial parameter in bjam:
> > Bjam ... --cross-compile ...
>
> Is this windows host, linux target cross?
>
> - 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