aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
Commit message (Collapse)AuthorAgeFilesLines
* Generate shared C++ bindings for ncursesPierre Labastie2022-06-291-11/+35
| | | | | | | | Presently we let the build system generate static C++ bindings, and then we remove them. Note that we could also prevent generating any C++ binding, since nothing in LFS/BLFS use them, but it seems to me that generating the shared ones is closer to what is done for other packages.
* fix command for removing libncurses++w.aXi Ruoyao2022-05-271-1/+1
| | | | What was I doing ?!
* ncurses: remove libncurses++w.a from temp ncursesXi Ruoyao2022-05-261-0/+5
|
* gcc-12: remove unneeded sed for PR100017 in pass 2Xi Ruoyao2022-05-061-6/+0
| | | | Reference: https://gcc.gnu.org/r12-6406
* TypoBruce Dubbs2022-03-061-1/+1
|
* gcc-pass2: document *_FOR_TARGET parametersXi Ruoyao2022-03-021-1/+28
|
* gcc pass2: use --target=$LFS_TGT instead of many {C,CXX}_FOR_TARGETXi Ruoyao2022-03-021-3/+2
| | | | | | There is also a "GCC_FOR_TARGET" which was not set correctly. The --target=$LFS_TGT parameter can set up all of these variables as we expected.
* fix GCC PR100017 and enable libstdc++ for pass 2Xi Ruoyao2022-02-271-12/+14
| | | | | | | | | This is the issue preventing us from cross-compiling libstdc++ in Chapter 6. By fixing this issue we can remove a seperate pass 2 for libstdc++ and simplify the instruction. The upstream fix will be released in 11.3 and 12.0, so we can remove the first sed upgrading gcc next time.
* binutils-pass2: workaround "binaries link to host libraries" issueXi Ruoyao2022-02-103-74/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | A very old libtool copy (2009-11-29) is shipped in binutils tarball. It does not support sysroot, so the cross-built binutils binaries may link to libraries from the host distro, if certain libraries are available. The ideal solution should be updating libtool, as libtool-2.4.6 (in LFS) has sysroot support. However, updating libtool for binutils is not trivial: it would require to rerun autoconf and binutils building system sticks to autoconf-2.69. Another issue is the sysroot support for libtool has introduced a configure option "--with-sysroot", which conflicts with an already existing option with the same name in GCC and binutils building system (we are using the GCC/binutils version of --with-sysroot in chapter 5). GCC building system has --with-build-sysroot (we are using this for GCC pass 2) for this issue. Binutils copied GCC building system, but it does not respect --with-build-sysroot. So for now we just edit libtool code to prevent "-L/usr/lib" in $LFS_TGT_gcc command line. It should fix the issue about host libiberty (reported in #lfs-support) as well, but it still need to be confirmed by someone having such a host. Tested with a jhalfs run on LFS.
* Package updates.Bruce Dubbs2022-02-092-0/+68
| | | | | | Update to bc-5.2.2. Update to linux-5.16.8. Update to binutils-2.38. Requires adding zlib to Chapter 6.
* Revert "binutils: use -j1 for make install"Xi Ruoyao2022-02-041-1/+1
| | | | | | | This reverts commit 03a41fd0cd6635843d313c02150692a05d6b8bd2. It's no longer needed after binutils-gdb commit "install dependencies for ld -> bfd and libctf -> bfd" (755ba58e).
* chapter 6 ncurses: disable stripping (invoking host strip)Xi Ruoyao2021-12-181-0/+10
|
* gawk, chap 6: now config.guess is in build-auxPierre Labastie2021-11-021-1/+1
|
* Remove spaces at end o lines - chapter06Pierre Labastie2021-09-072-3/+3
|
* SpacingBruce Dubbs2021-09-041-3/+3
|
* Revert coreutils library location changeXi Ruoyao2021-07-281-1/+0
| | | | | libstdbuf.so is a LD_PRELOAD hook, instead of a library which would be used at link time. So let's keep the upstream default.
* Minor instruction changes and text updates.Bruce Dubbs2021-07-271-0/+1
| | | | | | | | | | | Move coreutils library from /usr/libexec to /usr/lib in both Chapter 6 and Chapter 8. Text updates in chapter08/pkgmgt.xml and chapter09/locale.xml. Restore deletion of hanging test in chapter08/util-linux.xml. Text changes in stripping and make instruction compatible with jhalfs.
* Remove modifications to m4 that are no longer needed.Bruce Dubbs2021-07-151-2/+2
|
* add --localstatedir= for temp findutilsXi Ruoyao2021-05-181-2/+3
| | | | It's to prevent the creation of an empty /usr/var.
* Merge Xi's changes into trunkDouglas R. Reno2021-05-1110-48/+4
| | | | | | | | | | | | | Update to meson-0.58.0 Update to systemd-248 Update to gcc-11.1.0 Update to linux-5.12.1 Update to iproute2-5.12.0 Update to Python-3.9.5 Make /bin, /sbin, and /lib symlinks to their counterparts in /usr. Thanks again for a significant portion of this work goes to Xi, I only really merged it and made a couple of modifications for my updates. To LFS 11.x we go!
* file: secure the URL, add libseccomp as external dep, and move libmagic.so ↵Xi Ruoyao2021-03-281-0/+6
| | | | | | | | | | to /lib /bin/more links to libmagic.so (found on gimli and rivendell with a script) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* binutils: use -j1 for make installXi Ruoyao2021-03-171-1/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12166 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* chapter06/file: Remove extra space from the end of one of the configure ↵Douglas R. Reno2021-02-041-1/+1
| | | | | | lines, which causes configure to fail to run. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12127 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Tweak some wordingBruce Dubbs2021-02-041-3/+3
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12126 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* ch06/file: disable host libraries to prevent FTBFSXi Ruoyao2021-02-041-1/+19
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12125 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Wording and format changesBruce Dubbs2021-02-031-5/+7
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12117 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* ch06/binutils: remove duplicated commandXi Ruoyao2021-02-031-9/+4
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12113 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Really apply various fixes for building with glibc-2.33,Pierre Labastie2021-02-022-2/+13
| | | | | | | and change the order in chapter 8 so that everything is built against chapter 8 glibc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12112 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Various fixes for building with glibc-2.33, and change the order in chapter 8Pierre Labastie2021-02-021-66/+0
| | | | | | so that everything is built against chapter 8 glibc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12111 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update to bc-3.2.6. Bruce Dubbs2021-02-021-1/+1
| | | | | | | | | Update to glibc-2.33. Minor change to mountfs boot script. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12109 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* remove ch6 zlib, and workaround binutils issueXi Ruoyao2021-02-022-1/+9
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12108 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update to vim-8.2.2433. Bruce Dubbs2021-01-312-0/+67
| | | | | | | | | | | | | | | | | Update to iana-etc-20210115. Update to bc-3.2.5. Update to e2fsprogs-1.46.0. Update to autoconf-2.71. Update to tzdata-2021a. Update to perl-5.32.1. Update to libcap-2.47. Update to bison-3.7.5. Update to binutils-2.36. Requires building zlig in Chapter 6. Update to linux-5.10.12. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12105 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* decorate usernames with <systemitem>Xi Ruoyao2020-12-261-1/+2
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12071 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* fix some typosXi Ruoyao2020-08-195-5/+5
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12029 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update to gettext-0.21. Bruce Dubbs2020-08-041-2/+2
| | | | | | | | | | | | | | Update to binutils-2.35. Update to gcc-10.2.0. Update to check-0.15.1. Update to bison-3.7.1. Update to util-linux 2.36.0. Update to libcap-2.42. Update to linux-5.7.12. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12007 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Match ncurses chapter 6 to what is done in chapter 8, and add explanationsPierre Labastie2020-07-061-2/+26
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11994 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* add xreflabel gcc-pass2, to be consistent with gcc-pass1Xi Ruoyao2020-06-201-1/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11967 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* chapter06: file contents xref is missingXi Ruoyao2020-06-191-2/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11963 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Add explanations for new configure switches in binutils pass 2Pierre Labastie2020-06-151-5/+12
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11944 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* add --enable-64-bit-bfd to binutils pass 2 to prevent an abi mismatch whenPierre Labastie2020-06-151-1/+2
| | | | | | reintalling binutils in chpater 8 git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Minor updates.Bruce Dubbs2020-06-141-18/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11939 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Do not install .pc files for ncurses in chapter 6: they are not needed,Pierre Labastie2020-06-141-2/+1
| | | | | | and it may generate errors if pkg-config is not installed on the host git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11937 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* - fix some gcc->GCCPierre Labastie2020-06-131-1/+1
| | | | | | - remove commented text in glibc (chap 5), and fix a directory location git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11934 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Add a switch to chapter 6 ncurses' configure so that it does not installPierre Labastie2020-06-131-9/+19
| | | | | | compressed manpages if the host distro has compressed manpages git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11932 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Rename package entities to be independent of chapter numberingThomas Trepl2020-06-1117-34/+34
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11921 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Text updates to cross2 branch Chapter 6Bruce Dubbs2020-06-108-28/+24
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11917 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Move stripping to chap-7Thomas Trepl2020-06-102-97/+0
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11916 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Add a section about backup temptoolsThomas Trepl2020-06-101-0/+43
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11915 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Add an introduction to chapter 6 and 7Pierre Labastie2020-06-092-16/+18
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11910 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Move changingowner from Chapter 6 to Chapter 7Bruce Dubbs2020-06-082-42/+0
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11905 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689