[OE-core] [PATCH 1/1] python-native: Fix a compiler finding issue

Mei, Lei lei.mei at intel.com
Tue Aug 2 03:08:14 UTC 2011



>-----Original Message-----
>From: openembedded-core-bounces at lists.openembedded.org
>[mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
>Khem Raj
>Sent: Tuesday, August 02, 2011 1:27 AM
>To: Patches and discussions about the oe-core layer
>Subject: Re: [OE-core] [PATCH 1/1] python-native: Fix a compiler finding issue
>
>On (01/08/11 20:41), Mei, Lei wrote:
>>
>> >
>> >You're patching python-native, not python, which means the host python
>> >and not the target python.
>>
>> Yes, but I think this function will be called by python-pycairo, which will use
>cross compiler name in this function, so we should get the compiler name from
>CC.
>
>so we inject the cross compiler name hardcoded into python and then
>python uses it when it needs to do cross compilation ?

No hardcode, I think. Python use the cross compiler name from CC, which will be exported to environment when we do cross compilation.
If environment didn't define the CC, the default compiler name will be used, I mean, host compiler name.

Thanks
Lei

>
>_______________________________________________
>Openembedded-core mailing list
>Openembedded-core at lists.openembedded.org
>http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list