Building libsdl with Android standalone toolchain |
afeder
|
Hi,
Can anyone please help me understand how to build libsdl using the Android NDK's standalone toolchain? I can't use the standard ndk-build as I have to integrate with an existing build system. I know I probably have to put the path and name of the cross-compiler in my PATH and CC environment variables, respectively, but I assume there is a bunch of other things that need to be done - e.g. SSE and 3DNow probably need to be disabled (the target architecture is ARM) etc. Thanks, Anders Feder _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|
Building libsdl with Android standalone toolchain |
Building libsdl with Android standalone toolchain |
gabomdq
|
2012/1/23 Anders Feder
To complete my previous answer as the email went out before intended (it happens!)...don't use the last line (env['MAKE']), and try running configure with: ./configure --host=arm-eabi --build=i686-pc-linux-gnu --with-sysroot=[LOCATION OF THE NDK]/platforms/android-5/arch-arm Let us know if it works! -- Gabriel. |
|||||||||||||
|
Building libsdl with Android standalone toolchain |
afeder
|
Thanks a lot. It compiled fine, except I had to configure with --host=arm-eabi-linux and --disable-joystick.
Anders Feder On 23-01-2012 17:56, Gabriel Jacobo wrote:
|
|||||||||||||||||
|