On 10/19/18 3:25 AM, Alex Bennée wrote:
> 
> Richard Henderson <richard.hender...@linaro.org> writes:
> 
>> On aa64, "cross-compiling" to aa32, with
>>
>> CC=arm-linux-gnueabihf-gcc
> 
> So this is different from ./configure --cross-cc=arch-linux-gnueabihf-

No, that's exactly how I configured.

> In fact looking deeper I'm not sure what HOST_CC is meant to be used
> for. We export it to make but the only place I can find it in the source
> tree is:
> 
> $(feat-dst)gen-features: $(feat-src)gen-features.c
>       $(call quiet-command,$(HOST_CC) $(QEMU_INCLUDES) -o $@ 
> $<,"CC","$(TARGET_DIR)gen-features")
> 
> As part of s390x - weird.

Because of course gen-features is run on the host to produce gen-features.h, as
part of the build process.  Those are the two lines immediately above those.


r~

Reply via email to