The Binutils package contains a linker, an assembler, and other tools for handling object files.
Download HTTP: https://sourceware.org/pub/binutils/releases/binutils-2.46.0.tar.xz
Download SHA256 Sum: d75a94f4d73e7a4086f7513e67e439e8fcdcbb726ffe63f4661744e6256b2cf2
Download Size: 27,880 KB
Estimated Disk Space: 424.8M
Estimated Build Time: 1.54 SBU
Xz-5.8.3, GCC-15.2.0-pass1, Binutils-2.46.0-pass1, Glibc-2.43, and Linux-7.0.3-headers
Prepare Binutils-pass2 for compilation:
Now Configure the Package, issue:
sed '6031s/$add_dir//' -i ltmain.sh;
mkdir -v build
cd build
../configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(../config.guess) \
--disable-werror \
--disable-nls \
--enable-shared \
--enable-gprofng=no \
--enable-64-bit-bfd \
--enable-new-dtags \
--enable-default-hash-style=gnu
To Compile the Package, issue:
make
Now Install the Package, issue:
make DESTDIR=$LFS install
rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes,sframe}.{a,la}