Last active
September 20, 2024 00:01
-
-
Save JayKickliter/8004bafaf3d365dc8fe23843fae15c67 to your computer and use it in GitHub Desktop.
Building `arm-none-eabi-gdb` with python support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
export TARGET=arm-none-eabi | |
export PREFIX=$HOME/.local | |
export PATH=$PATH:$PREFIX/bin | |
export VERSION=7.8.1 | |
export GDB=gdb-$VERSION | |
rm -rf $GDB | |
# Get archives | |
wget http://ftp.gnu.org/gnu/gdb/$GDB.tar.gz | |
# Extract archives | |
tar xzvf $GDB.tar.gz | |
mkdir build-gdb | |
cd build-gdb | |
../$GDB/configure --target=$TARGET --prefix=$PREFIX --enable-interwork --enable-multilib --with-python | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment