Confirmed users
3,314
edits
(Update version to 7_4) |
|||
Line 106: | Line 106: | ||
==== Mac OS X ==== | ==== Mac OS X ==== | ||
Setup a toolchain environment for your build | Setup a toolchain environment for your build, then run configure and make for gdbserver. The android-gdbserver-objdir directory can be anywhere, but creating it within the android-gdb git clone is convenient. The paths below do not necessarily need to be absolute paths, but it will make life easier. | ||
mkdir android-gdbserver-objdir | mkdir android-gdbserver-objdir | ||
cd android-gdbserver-objdir | cd android-gdbserver-objdir | ||
/ABSOLUTE/PATH/TO/NDK/android-ndk-r5c/build/tools/make-standalone-toolchain.sh --install-dir=android-9-toolchain --platform=android-9 | |||
export PATH=android-9-toolchain/bin:$PATH | export PATH=android-9-toolchain/bin:$PATH | ||
/ABSOLUTE/PATH/TO/GIT/CLONE/android-gdb/gdb/gdbserver/configure --host=arm-linux-androideabi | |||
make -j4 | make -j4 | ||