Message161972
| Author |
Ray.Donnelly |
| Recipients |
Arfrever, BreamoreBoy, David.Kern, Greg.Hellings, Ray.Donnelly, WhiteTiger, alexis, doko, eric.araujo, kalev, marqvar, rpetrov, tarek, vapier, wrobell |
| Date |
2012年05月30日.22:36:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1338417405.4.0.0131851418964.issue3754@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|