aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/binutils.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-18 11:16:49 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-18 11:16:49 -0500
commitbbf8c8d4222a70ea1228f0ec974c6e2f0510f5b2 (patch)
treed0c8e04aeee32b4a003f8f5279caa99de221510c /chapter5/binutils.sh
parent5a0d563dfe209f2be5d2555fccd4613accbc1249 (diff)
Add Chapter 5 build scripts for binutils, gcc, glibc, libstdc++ and linux-api-headers.
Diffstat (limited to 'chapter5/binutils.sh')
-rw-r--r--chapter5/binutils.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh
new file mode 100644
index 0000000..870d34a
--- /dev/null
+++ b/chapter5/binutils.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+mkdir build
+cd build
+
+../configure --prefix=$LFS/tools \
+ --with-sysroot=$LFS \
+ --target=$LFS_TGT \
+ --disable-nls \
+ --disable-werror &&
+make &&
+make -j1 install \ No newline at end of file