ITK/GDBPretty/Installation/Linux: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
Line 6: | Line 6: | ||
== Build custom GDB == | == Build custom GDB == | ||
=== Build it === | |||
cd ~ | cd ~ | ||
Line 15: | Line 17: | ||
../source/configure --prefix=$(cd ../install && pwd) | ../source/configure --prefix=$(cd ../install && pwd) | ||
make -j2 all install | make -j2 all install | ||
=== Put it at the top of the system PATH === | |||
su - | |||
cd /usr/local/bin | |||
ln -s /home/user/gdb/install/bin/gdb | |||
exit |
Revision as of 07:24, 17 November 2010
Fedora 14 example
Install package dependencies
yum install gcc gcc-c++ git texinfo ncurses-devel flex bison
Build custom GDB
Build it
cd ~ mkdir gdb cd gdb git clone git://gitorious.org/~thewtex/gdb-python/archer-thewtex-python.git source mkdir build install cd build ../source/configure --prefix=$(cd ../install && pwd) make -j2 all install
Put it at the top of the system PATH
su - cd /usr/local/bin ln -s /home/user/gdb/install/bin/gdb exit