diff options
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 |