[Samba] Cross Compiling Samba 4.0.6 for ARM increases size of binaries

Liam pubsub at networkimprov.net
Mon Aug 26 14:14:01 MDT 2013


On Mon, Jun 10, 2013 at 5:14 PM, Andrew Bartlett <abartlet at samba.org> wrote:

> On Mon, 2013-06-10 at 10:42 -0700, pranav desai wrote:
> > Thanks Andrew for the reply.
> >
> > Do we have a TODO list need to support cross compilation using the waf
> > build system?
> > I can try and hack around the build system.
>
> The issue is the python detection.  This isn't hooked in to the system
> that allows cross-compiles.
>
> > The WAF build system generates a cache file (default.cache.py) which
> > has all the variables needed to configure
> >  the waf system.
> > Is it possible to modify or inject our own variables by modifying the
> > file and ensuring the waf uses the cached values?
> > Also can we expose more variables need for cross-compilation via a
> > 'cross-answers' file?
>
> Indeed, there is some detail here:
>  https://wiki.samba.org/index.php/Waf#cross-compiling
>
> > What would be a good approach to resolve this; I can perform some
> > experiments and upload the code to be reviewed if all works well.
>
> What we need is for the python checks, which are run against the current
> python environment, to be run via cross-answers.
>
> I've not worked out the details of how to do that yet.
>

Have there been any developments here?


More information about the samba mailing list