[mpich-discuss] cross comiling MPICH
Florian.Willich at dlr.de
Florian.Willich at dlr.de
Thu Dec 10 08:37:13 CST 2015
Does it work to just add the pthread lib to your libs?:
./configure --host=arm-linux-androideabi --prefix=/Crosscompile2/jni/mpich/ LIBS="-lc -lgcc -lpthread" --disable-shared --disable-fortran --disable-cxx
________________________________
Von: Doha Ehab [dohaehab at gmail.com]
Gesendet: Donnerstag, 10. Dezember 2015 15:29
An: discuss at mpich.org
Betreff: [mpich-discuss] cross comiling MPICH
Hello ,
I'm trying to use Android toolchain to cross compile mpi using the following commands:
export PATH="$NDK_ROOT/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:$PATH"
export SYS_ROOT="$NDK_ROOT/platforms/android-8/arch-arm/"
export CC="arm-linux-androideabi-gcc --sysroot=$SYS_ROOT"
export LD="arm-linux-androideabi-ld"
export AR="arm-linux-androideabi-ar"
./configure --host=arm-linux-androideabi --prefix=/Crosscompile2/jni/mpich/ LIBS="-lc -lgcc " --disable-shared --disable-fortran --disable-cxx
but I got the following error
checking for pthread_key_create in -lpthread... no
checking checkpointing library... configure: error: pthreads is required for checkpointing, but was not found
configure: error: src/pm/hydra configure failed
I also have attached the config.log but I don't know what is the problem.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151210/5ba50347/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list