New submission from Matthias Klose:

Following up to http://bugs.python.org/issue23968, I think we should choose 
different platform triplets for the android builds than we do for the linux 
builds.  Not sure which ones.

I saw the following gnu triplets used:

 - i686-linux-android
 - arm-linux-androidabi

Looking at the two cross compilers from the Ubuntu archive, I see that the arm 
compiler defines a __ANDROID__ macro, while the i686 compiler doesn't, so it 
might be difficult to select the correct platform triplet.

Could somebody check different compilers (clang as well) to see if this macro 
is defined?

<gcc|clang>  -E -dM - < /dev/null|grep -i android

Not sure which architectures else should be defined, but aarch64 comes to my 
mind as well.

----------
components: Build
messages: 274041
nosy: doko
priority: normal
severity: normal
status: open
title: Choose platform triplets for android builds

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to