Changeset 6458e31
- Timestamp:
- 03/29/2013 07:50:55 PM (11 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, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, 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:
- 395cf94f
- Parents:
- e4c405c
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/binutils-pass1.xml
re4c405c r6458e31 79 79 <para>Now prepare Binutils for compilation:</para> 80 80 81 <screen><userinput remap="configure">../binutils-&binutils-version;/configure 81 <screen><userinput remap="configure">../binutils-&binutils-version;/configure \ 82 82 --prefix=/tools \ 83 83 --with-sysroot=$LFS \ -
chapter05/binutils-pass2.xml
re4c405c r6458e31 57 57 <para>Prepare Binutils for compilation:</para> 58 58 59 <screen><userinput remap="configure">CC=$LFS_TGT-gcc \60 AR=$LFS_TGT-ar \61 RANLIB=$LFS_TGT-ranlib \62 ../binutils-&binutils-version;/configure \63 --prefix=/tools \64 --disable-nls \59 <screen><userinput remap="configure">CC=$LFS_TGT-gcc \ 60 AR=$LFS_TGT-ar \ 61 RANLIB=$LFS_TGT-ranlib \ 62 ../binutils-&binutils-version;/configure \ 63 --prefix=/tools \ 64 --disable-nls \ 65 65 --with-lib-path=/tools/lib \ 66 66 --with-sysroot</userinput></screen> -
chapter05/gcc-pass1.xml
re4c405c r6458e31 114 114 <para>Prepare GCC for compilation:</para> 115 115 116 <screen><userinput remap="configure">../gcc-&gcc-version;/configure \117 --target=$LFS_TGT \118 --prefix=/tools \119 --with-sysroot=$LFS \120 --with-newlib \121 --without-headers \122 --with-local-prefix=/tools \123 --with-native-system-header-dir=/tools/include \124 --disable-nls \125 --disable-shared \126 --disable-multilib \127 --disable-decimal-float \128 --disable-threads \129 --disable-libatomic \130 --disable-libgomp \131 --disable-libitm \132 --disable-libmudflap \133 --disable-libquadmath \134 --disable-libsanitizer \135 --disable-libssp \136 --disable-libstdc++-v3 \137 --enable-languages=c,c++ \116 <screen><userinput remap="configure">../gcc-&gcc-version;/configure \ 117 --target=$LFS_TGT \ 118 --prefix=/tools \ 119 --with-sysroot=$LFS \ 120 --with-newlib \ 121 --without-headers \ 122 --with-local-prefix=/tools \ 123 --with-native-system-header-dir=/tools/include \ 124 --disable-nls \ 125 --disable-shared \ 126 --disable-multilib \ 127 --disable-decimal-float \ 128 --disable-threads \ 129 --disable-libatomic \ 130 --disable-libgomp \ 131 --disable-libitm \ 132 --disable-libmudflap \ 133 --disable-libquadmath \ 134 --disable-libsanitizer \ 135 --disable-libssp \ 136 --disable-libstdc++-v3 \ 137 --enable-languages=c,c++ \ 138 138 --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \ 139 139 --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen> -
chapter05/gcc-pass2.xml
re4c405c r6458e31 108 108 <para>Now prepare GCC for compilation:</para> 109 109 110 <screen><userinput remap="configure">CC=$LFS_TGT-gcc \ 111 CXX=$LFS_TGT-g++ \ 112 AR=$LFS_TGT-ar \ 113 RANLIB=$LFS_TGT-ranlib \ 114 ../gcc-&gcc-version;/configure \ 115 --prefix=/tools \ 116 --with-local-prefix=/tools \ 117 --with-native-system-header-dir=/tools/include \ 118 --enable-clocale=gnu \ 119 --enable-shared \ 120 --enable-threads=posix \ 121 --enable-__cxa_atexit \ 122 --enable-languages=c,c++ \ 123 --disable-libstdcxx-pch \ 124 --disable-multilib \ 125 --disable-bootstrap \ 126 --disable-libgomp \ 110 <screen><userinput remap="configure"> 111 CC=$LFS_TGT-gcc \ 112 CXX=$LFS_TGT-g++ \ 113 AR=$LFS_TGT-ar \ 114 RANLIB=$LFS_TGT-ranlib \ 115 ../gcc-&gcc-version;/configure \ 116 --prefix=/tools \ 117 --with-local-prefix=/tools \ 118 --with-native-system-header-dir=/tools/include \ 119 --enable-clocale=gnu \ 120 --enable-shared \ 121 --enable-threads=posix \ 122 --enable-__cxa_atexit \ 123 --enable-languages=c,c++ \ 124 --disable-libstdcxx-pch \ 125 --disable-multilib \ 126 --disable-bootstrap \ 127 --disable-libgomp \ 127 128 --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \ 128 129 --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen> -
chapter05/glibc.xml
re4c405c r6458e31 77 77 78 78 <screen><userinput remap="configure">../glibc-&glibc-version;/configure \ 79 --prefix=/tools 80 --host=$LFS_TGT 79 --prefix=/tools \ 80 --host=$LFS_TGT \ 81 81 --build=$(../glibc-&glibc-version;/scripts/config.guess) \ 82 --disable-profile 83 --enable-kernel=2.6.25 84 --with-headers=/tools/include 85 libc_cv_forced_unwind=yes 86 libc_cv_ctors_header=yes 82 --disable-profile \ 83 --enable-kernel=2.6.25 \ 84 --with-headers=/tools/include \ 85 libc_cv_forced_unwind=yes \ 86 libc_cv_ctors_header=yes \ 87 87 libc_cv_c_cleanup=yes</userinput></screen> 88 88 -
chapter06/adjusting.xml
re4c405c r6458e31 31 31 A <command>sed</command> command accomplishes this:</para> 32 32 33 <screen><userinput>gcc -dumpspecs | sed -e 's@/tools@@g' \33 <screen><userinput>gcc -dumpspecs | sed -e 's@/tools@@g' \ 34 34 -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ 35 -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' & gt;\35 -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' & \ 36 36 `dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen> 37 37 -
chapter06/glibc.xml
re4c405c r6458e31 70 70 <para>Prepare Glibc for compilation:</para> 71 71 72 <screen><userinput remap="configure">../glibc-&glibc-version;/configure \72 <screen><userinput remap="configure">../glibc-&glibc-version;/configure \ 73 73 --prefix=/usr \ 74 74 --disable-profile \
Note:
See TracChangeset
for help on using the changeset viewer.