Confirmed users
507
edits
No edit summary |
|||
Line 71: | Line 71: | ||
# Use the source directory from above | # Use the source directory from above | ||
# Make sure you have a copy of the Android NDK | # Make sure you have a copy of the Android NDK | ||
# Run configure inside the ''gdb/gdbserver directory'' (following is for NDK r8d)<pre>export NDK=/PATH/TO/NDK export PATH=$PATH:$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/ | # Run configure inside the ''gdb/gdbserver directory'' (following is for NDK r8d)<pre>export NDK=/PATH/TO/NDK export PATH=$PATH:$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin ./configure --host=arm-linux-androideabi --with-sysroot=$NDK/platforms/android-9/arch-arm</pre> | ||
# Run make <pre>make -j8</pre> | # Run make <pre>make -j8</pre> | ||
# The compiled binary will be at gdb/gdbserver/gdbserver | # The compiled binary will be at gdb/gdbserver/gdbserver |