GDB: Difference between revisions
From CBLFS
Jump to navigationJump to search
I added the package description. |
No edit summary |
||
| Line 17: | Line 17: | ||
== Non-Multilib == | == Non-Multilib == | ||
Apply a sed substitution that will suppress the installation of libiberty.a. The version of libiberty.a that was provided by Binutils during the initial CLFS build will be retained: | |||
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in | |||
Compile the package: | Compile the package: | ||
| Line 30: | Line 34: | ||
=== 64Bit === | === 64Bit === | ||
Apply a sed substitution that will suppress the installation of libiberty.a. The version of libiberty.a that was provided by Binutils during the initial CLFS build will be retained: | |||
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in | |||
Compile the package: | Compile the package: | ||
Revision as of 12:31, 1 January 2007
| Download Source: | http://ftp.gnu.org/gnu/gdb/gdb-7.0.tar.bz2 |
|---|
Introduction to GDB
GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.
Dependencies
Optional
Non-Multilib
Apply a sed substitution that will suppress the installation of libiberty.a. The version of libiberty.a that was provided by Binutils during the initial CLFS build will be retained:
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
64Bit
Apply a sed substitution that will suppress the installation of libiberty.a. The version of libiberty.a that was provided by Binutils during the initial CLFS build will be retained:
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
--libdir=/usr/lib64 &&
make
Install the package
make install