Somebody claiming to be Nathan Hüsken wrote:
Now, configure:./configure --target=arm-linux-androideabi --build=i686-linux-gnu --host=arm-linux-androideabi --with-sysroot=/home/ls/src/android-ndk/platforms/android-14/arch-armLooking at config.log, it seems the --sysroot is not passed to arm-linux-androideabi-gcc.Now, I do not know if the problem has something to do with the ghc build system, or if it is general autotools related.
I'm no autotools export, but I'm pretty sure that unless --with-sysroot is explicitly defined, it does not exist.
Ideally you would install arm-linux-androideabi-gcc such that this argument is not needed, or use an environment variable. You could also create a shell alias or shell script wrapper that adds the required flag.
Am I on the right track for building haskell programs on android?
Seems likely to be the right path, though I have no NDK experience. -- Stephen Paul Weber, @singpolyma See <http://singpolyma.net> for how I prefer to be contacted edition right joseph
signature.asc
Description: Digital signature
_______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc