Message161972
Hi Roumen,
Many thanks for your patches, I've been using a 2.7.1 version of your patches for Python integration with GDB (pretty-printing) of my own version of the Android NDK for ages now (part of the Necessitas Qt project) and I really appreciate your efforts in this area. I've recently started looking into cross compilation of Python as I want to build everything on Linux and hopefully I can be useful in this effort.
What you said about wchar_t on Android is true on API level <= 8, but fixed for >8. See:
https://groups.google.com/group/android-ndk/browse_thread/thread/e40e3fd241e72d3f?pli=1
To test this:
test.c:
#include <stdlib.h>
char bytes[(signed)sizeof(wchar_t)-4];
compile failure:
arm-linux-androideabi-gcc -I$NDK/platforms/android-8/arch-arm/usr/include/ -S test.c
test.c:2: error: size of array 'bytes' is negative
compile success:
arm-linux-androideabi-gcc -I$NDK/platforms/android-9/arch-arm/usr/include/ -S test.c
I've attached a version of your latest patch re-made against released 3.3.0a2. I've also done the same thing for your MinGW patch at http://bugs.python.org/issue3871
I'll follow up shortly with a patch that addresses some of the remaining issues with cross building for MinGW on Linux (and also the beginnings of Darwin on Linux). It'll be attached to http://bugs.python.org/issue3871 though as it's more specific to MinGW than general cross. |
|
Date |
User |
Action |
Args |
2012-05-30 22:36:45 | Ray.Donnelly | set | recipients:
+ Ray.Donnelly, doko, wrobell, vapier, tarek, eric.araujo, rpetrov, Arfrever, alexis, WhiteTiger, BreamoreBoy, David.Kern, Greg.Hellings, kalev, marqvar |
2012-05-30 22:36:45 | Ray.Donnelly | set | messageid: <1338417405.4.0.0131851418964.issue3754@psf.upfronthosting.co.za> |
2012-05-30 22:36:44 | Ray.Donnelly | link | issue3754 messages |
2012-05-30 22:36:44 | Ray.Donnelly | create | |
|