[Openmp-dev] Trying to cross-compile the runtime for Android

Débora Setton Sanches setton.debora at gmail.com
Thu Jul 16 18:16:49 PDT 2015


Hi,

Is it possible to cross-compile the OpenMP runtime for Android (running on
armhf)?

By "is it possible", I mean: has anyone ever done it and could help me with
an overview of the process? Or, if not, I'm also trying to figure out if
it's worth trying at all, or if I'm going to hit a wall somewhere down the
path that you may already be aware of, but I'm not.

This is what I have so far:

I have successfully cross-compiled the RTL for the same hardware but with
Ubuntu as OS. For that, I used arm-linux-gnueabihf toolchain for Debian (my
host OS), but I also had to install libffi-dev:armhf, as it's a dependency.
In the end, it worked great.

For Android, I was thinking of trying something similar. I already have a
cross-compiler for Android (the toolchain provided with Android NDK), but
there is no "libffi-dev:android-eabi" or something like that. I *could *try
building ffi, but I'm wondering if I won't end up having a lot of similar
dependencies to build (assuming I get ffi to even build).

Any thoughts on what I'm trying to accomplish are welcome -- any thoughts
at all :)

Thanks.

--
Débora.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150716/99fcf367/attachment.html>


More information about the Openmp-dev mailing list