Changeset bc8cca5 for chapter06/gcc-pass2.xml
- Timestamp:
- 06/10/2020 08:44:16 PM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 387a32af
- Parents:
- 67d1e79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-pass2.xml
r67d1e79 rbc8cca5 60 60 <screen><userinput remap="pre">case $(uname -m) in 61 61 x86_64) 62 sed -e '/m64=/s/lib64/lib/' \ 63 -i.orig gcc/config/i386/t-linux64 62 sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64 64 63 ;; 65 64 esac</userinput></screen> … … 75 74 cd build</userinput></screen> 76 75 77 <para>Create a symlink that allo s libgcc to be built with posix threads76 <para>Create a symlink that allows libgcc to be built with posix threads 78 77 support:</para> 79 78 … … 110 109 <term><parameter>-with-build-sysroot=$LFS</parameter></term> 111 110 <listitem> 112 <para>Normally, using <parameter>--host =</parameter> ensures that111 <para>Normally, using <parameter>--host</parameter> ensures that 113 112 a cross-compiler is used for building gcc, and that compiler knows 114 113 that it has to look for headers and libraries in <filename … … 139 138 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 140 139 141 <para>As a finishing touch, create a symlink. Many programs and scripts140 <para>As a finishing touch, create a utility symlink. Many programs and scripts 142 141 run <command>cc</command> instead of <command>gcc</command>, which is 143 142 used to keep programs generic and therefore usable on all kinds of UNIX
Note:
See TracChangeset
for help on using the changeset viewer.