Howdy all!

Replying to https://sourceforge.net/p/pdl/bugs/357/ here.

Quick background: As of the latest stable release, Perl now supports
Android, so I've been going through CPAN and seeing what works.
PDL hit one of android's, er, surprising behaviors, thus the bug
report, but beyond that looks like it works :D
Note however that I'm not really a PDL user, so it may be broken in
ways that aren't obvious to me.

>Would you be able to document what is needed and
>how it works?

It depends a bit on how you're working on Android. There's two ways to
get Perl on android -- you can either cross-compile it, or get a
native toolchain and build perl on the device itself[0].

I don't know how/if you can cross-compile perl and then cross-compile
modules -- that probably still doesn't work. So what I'm doing for
CPAN is getting a native toolchain and building it all on an actual
Android device.

With that in place, a 'cpan PDL' was all that was needed.

>Does this work on smartphones?

As far as command line stuff goes, sure. Shipping it as an app still
requires pretty terrible hacks, though.

>Is Android OS a 64bit platform that could use true 64bit
>index support in PDL?

Exclusively 32-bit at the moment; possibly starting to go into 64 bit
in the next year or two. The vast majority of Android devices
currently run ARM32, while a handful run x86, and theoretically you
could run it on mipsel as well, but I've never heard of that beyond
VMs.

I'd be glad to run stuff to check if PDL works properly, or help
people set up their own perls, by the way!

[0] http://perl5.git.perl.org/perl.git/blob/HEAD:/README.android

_______________________________________________
Perldl mailing list
Perldl@jach.hawaii.edu
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to