Cross-compiling with 4.1 ?

Jeremy Allison jra at samba.org
Thu Aug 22 21:26:52 MDT 2013


On Fri, Aug 23, 2013 at 03:22:13PM +1200, Andrew Bartlett wrote:
> On Thu, 2013-08-22 at 19:08 -0300, Thiago Fernandes Crepaldi wrote:
> > Hello Jeremy,
> > 
> > since 4.0.3, I've had to change my build environment for using chroot +
> > qemu user emulation to compile it for arm. I had too many troubles trying
> > to use cross compilers on 4.0.x, but I havent tried cross compile 4.1.x
> > yet, though.
> 
> The code hasn't changed, essentially, for 4.1 compared with 4.0 in this
> respect.

Yeah, but 4.0 still has the autoconf code, and 4.1 doesn't :-).
That's the big change.

> The primary issue, as far as I'm aware, is that the python version on
> both build and target absolutely have to match, because currently the
> python configure tests are run directly in the python interpreter, not
> via the --cross-answers stuff (which everything else uses, or at least
> everything should use).
> 
> There may well be other issues:  I don't know of anybody doing a deep
> investigation into this since the initial support was added.

I'm getting complaints it's not working, so I'll dig a little
deeper.

Jeremy.


More information about the samba-technical mailing list