From 08ac678daa392fea63575b899f591b0e074d90a2 Mon Sep 17 00:00:00 2001
From: Poltern <2363951+Poltern@users.noreply.github.com>
Date: Sat, 23 Sep 2023 21:35:12 +0500
Subject: [PATCH] Added multilib support in binutils-pass2.xml
---
chapter06/binutils-pass2.xml | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/chapter06/binutils-pass2.xml b/chapter06/binutils-pass2.xml
index 9dd2ee4..d1e8fe0 100644
--- a/chapter06/binutils-pass2.xml
+++ b/chapter06/binutils-pass2.xml
@@ -64,7 +64,7 @@ cd build
Подготовьте Binutils к компиляции:
-../configure \
+../configure \
--prefix=/usr \
--build=$(../config.guess) \
--host=$LFS_TGT \
@@ -73,6 +73,16 @@ cd build
--enable-gprofng=no \
--disable-werror \
--enable-64-bit-bfd
+../configure \
+ --prefix=/usr \
+ --build=$(../config.guess) \
+ --host=$LFS_TGT \
+ --disable-nls \
+ --enable-shared \
+ --enable-gprofng=no \
+ --disable-werror \
+ --enable-64-bit-bfd \
+ --enable-multilib
Значение новых параметров настройки:
@@ -94,6 +104,13 @@ cd build
+
+ --enable-multilib
+
+ Включает поддержку multilib в bintutils.
+
+
+
Скомпилируйте пакет: