[PD] small template bug on 64 bit system for building externals for android

Antoine Villeret antoine.villeret at gmail.com
Sun Sep 15 09:23:22 CEST 2013


in version 1.0.14 (svn r17152)  I have $(NDK_PROCESSOR) instead of x86 or
on my system (Ubuntu 12.04 64bit) this environment variable isn't set
automatically with Anroid NDK r9
so I add   NDK_PROCESSOR=$(shell uname -p)
just before and i seems to work

I don't know if it only works on other platforms
here is the patch


do it yourself

2013/9/12 Cyrille Henry <ch at chnry.net>

> Hello,
> i'm currently working for android.
> when trying to compile pd extern for this platform, I face a small bug on
> the template makefile v1.0.14
> it certainly work great for 32 bit, but on my 64 bit system, i have to
> change :
>   NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK_**
> ABI)*-$(NDK_COMPILER_VERSION)/**prebuilt/$(NDK_UNAME)-x86)
> to
>   NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK_**
> ABI)*-$(NDK_COMPILER_VERSION)/**prebuilt/$(NDK_UNAME)-x86_64)
> for now i don't have anything to test, but binary are created.
> cheers
> c
> ______________________________**_________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130915/c142f1df/attachment.htm>

More information about the Pd-list mailing list