Cross compiling samba 4.1
gustavo at zacarias.com.ar
Fri Jan 17 06:43:16 MST 2014
On 01/15/2014 10:12 AM, Stefan (metze) Metzmacher wrote:
> Hi Gustavo,
>> 3) Heimdal
>> After some twiddling i managed to get a mixed solution for this.
>> Since the tools are built for the target and they're needed to build the
>> libraries i opted to build a host-variant in buildroot and make the
>> samba build system use the external tools.
>> It may be possible to avoid this using some CC_FOR_BUILD trickery.
> In our old pre waf buildsystem we used to have a HOST_CC, with
> we already have use_hostcc=True, but it's unused currently.
What would be the best way to approach this?
>From a quick look adding two new tasks to
buildtools/wafadmin/Tools/cc.py say hostcc and hostcc_link and switching
to them when *use_hostcc is true?
I'm not that proficient with waf.
More information about the samba-technical