diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-18 11:16:49 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-18 11:16:49 -0500 |
commit | bbf8c8d4222a70ea1228f0ec974c6e2f0510f5b2 (patch) | |
tree | d0c8e04aeee32b4a003f8f5279caa99de221510c /chapter5/libstdc++.sh | |
parent | 5a0d563dfe209f2be5d2555fccd4613accbc1249 (diff) |
Add Chapter 5 build scripts for binutils, gcc, glibc, libstdc++ and linux-api-headers.
Diffstat (limited to 'chapter5/libstdc++.sh')
-rw-r--r-- | chapter5/libstdc++.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chapter5/libstdc++.sh b/chapter5/libstdc++.sh new file mode 100644 index 0000000..958bfa6 --- /dev/null +++ b/chapter5/libstdc++.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +mkdir -v build +cd build + +../libstdc++-v3/configure \ + --host=${LFS_TGT} \ + --build=$(../config.guess) \ + --prefix=/usr \ + --disable-multilib \ + --disable-nls \ + --disable-libstdcxx-pch \ + --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/${VERSION} && + +make && +make -j1 DESTDIR=${LFS} install
\ No newline at end of file |