Created
April 12, 2018 14:59
-
-
Save DSLituiev/309c9cb7796454eb429379226adbacad to your computer and use it in GitHub Desktop.
installing gdb on MacOS with conda 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
# install gettext; after installation it outputs LDFLAGS and CPPFLAGS values. | |
brew reinstall gettext | |
# export gettext and conda-specific flags | |
export LDFLAGS="-Wl,-rpath,/Applications/anaconda3/lib/ -L/Applications/anaconda3/lib/ -L/usr/local/opt/gettext/lib" | |
export CPPFLAGS="-I/usr/local/opt/gettext/include" | |
# extract gdb | |
tar xvf gdb-8.1.tar.gz | |
cd gdb-8.1 | |
# configure - make - install | |
./configure --with-python=/Applications/anaconda3/bin/python3.6 | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment