Difference between revisions of "GDB"

From CBLFS
Jump to navigationJump to search
(Introduction to GDB)
Line 7: Line 7:
 
----
 
----
  
== Introduction to GDB ==
+
{{Blank-Package-Introduction}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 13:39, 16 April 2007

Download Source: http://ftp.gnu.org/gnu/gdb/gdb-7.0.tar.bz2

Introduction to GDB

Project Homepage: Unknown

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