Changeset 07114c98 for BOOK/cross-tools
- Timestamp:
- Jul 1, 2006, 12:48:39 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 95112ed
- Parents:
- 51f1397
- Location:
- BOOK/cross-tools
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/64/binutils.xml
r51f1397 r07114c98 48 48 49 49 <screen os="ca"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 50 --host=${ LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \50 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 51 51 --disable-nls --enable-shared --enable-64-bit-bfd --disable-multilib</userinput></screen> 52 52 -
BOOK/cross-tools/64/glibc.xml
r51f1397 r07114c98 71 71 xpointer="xpointer(//*[@os='g'])"/> 72 72 73 <screen os="df"><userinput>BUILD_CC="gcc" CC="${ LFS_TARGET}-gcc ${BUILD64}" \74 AR="${ LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \73 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD64}" \ 74 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 75 75 ../glibc-&glibc-version;/configure --prefix=/tools \ 76 --host=${ LFS_TARGET} --build=${LFS_HOST} \76 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 77 77 --disable-profile --enable-add-ons \ 78 78 --with-tls --enable-kernel=2.6.0 --with-__thread \ -
BOOK/cross-tools/alpha/gcc-static.xml
r51f1397 r07114c98 81 81 82 82 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 83 --host=${ LFS_HOST} --target=${LFS_TARGET} \83 --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 84 84 --with-local-prefix=/tools --disable-nls --disable-shared \ 85 85 --disable-threads --enable-languages=c</userinput></screen> -
BOOK/cross-tools/alpha/glibc-headers.xml
r51f1397 r07114c98 53 53 54 54 <screen os="s3"><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \ 55 --host=${ LFS_TARGET} --build=${LFS_HOST} \55 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 56 56 --disable-sanity-checks --enable-kernel=2.6.0 \ 57 57 --with-headers=/tools/include --cache-file=config.cache \ 58 --with-binutils=/cross-tools/${ LFS_TARGET}/bin</userinput></screen>58 --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen> 59 59 60 60 <warning os="e1"> … … 83 83 84 84 <varlistentry os="ca3"> 85 <term><parameter>--build=${ LFS_HOST}</parameter></term>85 <term><parameter>--build=${CLFS_HOST}</parameter></term> 86 86 <listitem> 87 87 <para>When used with --host, this creates a cross-architecture 88 executable that creates files for ${ LFS_TARGET} but runs on ${LFS_HOST).</para>88 executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para> 89 89 </listitem> 90 90 </varlistentry> 91 91 92 92 <varlistentry os="ca4"> 93 <term><parameter>--host=${ LFS_TARGET}</parameter></term>93 <term><parameter>--host=${CLFS_TARGET}</parameter></term> 94 94 <listitem> 95 95 <para>When used with --build, this creates a cross-architecture 96 executable that creates files for ${ LFS_TARGET} but runs on ${LFS_HOST).</para>96 executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para> 97 97 </listitem> 98 98 </varlistentry> … … 124 124 125 125 <varlistentry os="ca8"> 126 <term><parameter>--with-binutils=/cross-tools/${ LFS_TARGET}/bin</parameter></term>126 <term><parameter>--with-binutils=/cross-tools/${CLFS_TARGET}/bin</parameter></term> 127 127 <listitem> 128 128 <para>This tells GLIBC to use the binutils for our specific target architecture.</para> -
BOOK/cross-tools/alpha/variables.xml
r51f1397 r07114c98 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export LFS_TARGET="alpha-unknown-linux-gnu"</userinput></screen>27 <screen os="d"><userinput>export CLFS_TARGET="alpha-unknown-linux-gnu"</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/common/binutils.xml
r51f1397 r07114c98 46 46 47 47 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 48 --host=${ LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \48 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 49 49 --disable-nls --enable-shared --disable-multilib</userinput></screen> 50 50 … … 62 62 63 63 <varlistentry os="bd2"> 64 <term><parameter>--host=${ LFS_HOST}</parameter></term>64 <term><parameter>--host=${CLFS_HOST}</parameter></term> 65 65 <listitem> 66 66 <para>When used with --target, this creates a cross-architecture 67 executable that creates files for ${ LFS_TARGET} but runs on ${LFS_HOST).</para>67 executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para> 68 68 </listitem> 69 69 </varlistentry> 70 70 71 71 <varlistentry os="bd3"> 72 <term><parameter>--target=${ LFS_TARGET}</parameter></term>72 <term><parameter>--target=${CLFS_TARGET}</parameter></term> 73 73 <listitem> 74 74 <para>When used with --host, this creates a cross-architecture 75 executable that creates files for ${ LFS_TARGET} but runs on ${LFS_HOST).</para>75 executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para> 76 76 </listitem> 77 77 </varlistentry> -
BOOK/cross-tools/common/glibc.xml
r51f1397 r07114c98 65 65 xpointer="xpointer(//*[@os='g'])"/> 66 66 67 <screen os="df"><userinput>BUILD_CC="gcc" CC="${ LFS_TARGET}-gcc" \68 AR="${ LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \67 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ 68 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 69 69 ../glibc-&glibc-version;/configure --prefix=/tools \ 70 --host=${ LFS_TARGET} --build=${LFS_HOST} \70 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 71 71 --disable-profile --enable-add-ons \ 72 72 --with-tls --enable-kernel=2.6.0 --with-__thread \ … … 86 86 87 87 <varlistentry os="dg2"> 88 <term><parameter>CC="${ LFS_TARGET}-gcc"</parameter></term>88 <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term> 89 89 <listitem> 90 90 <para>This forces Glibc to use the GCC compiler that we made for our target … … 94 94 95 95 <varlistentry os="dg3"> 96 <term><parameter>AR="${ LFS_TARGET}-ar"</parameter></term>96 <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term> 97 97 <listitem> 98 98 <para>This forces Glibc to use the <command>ar</command> utility … … 102 102 103 103 <varlistentry os="dg4"> 104 <term><parameter>RANLIB="${ LFS_TARGET}-ranlib"</parameter></term>104 <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term> 105 105 <listitem> 106 106 <para>This forces Glibc to use the <command>ranlib</command> utility -
BOOK/cross-tools/mips/variables.xml
r51f1397 r07114c98 27 27 <para os="aa">For a MIPS Little Endian Machine:</para> 28 28 29 <screen os="ab"><userinput>export LFS_TARGET="mipsel-unknown-linux-gnu"</userinput></screen>29 <screen os="ab"><userinput>export CLFS_TARGET="mipsel-unknown-linux-gnu"</userinput></screen> 30 30 31 31 <para os="ac">For a MIPS Big Endian Machine:</para> 32 32 33 <screen os="ad"><userinput>export LFS_TARGET="mips-unknown-linux-gnu"</userinput></screen>33 <screen os="ad"><userinput>export CLFS_TARGET="mips-unknown-linux-gnu"</userinput></screen> 34 34 35 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/mips64-64/gcc-final.xml
r51f1397 r07114c98 88 88 89 89 <screen os="bf" ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 90 --target=${ LFS_TARGET} --host=${LFS_HOST} --with-abi=64 \90 --target=${CLFS_TARGET} --host=${CLFS_HOST} --with-abi=64 \ 91 91 --with-local-prefix=/tools --disable-nls --enable-shared \ 92 92 --enable-languages=c,c++ --enable-__cxa_atexit --disable-multilib \ -
BOOK/cross-tools/mips64-64/gcc-static.xml
r51f1397 r07114c98 81 81 82 82 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 83 --host=${ LFS_HOST} --target=${LFS_TARGET} --disable-mutlilib \83 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-mutlilib \ 84 84 --with-local-prefix=/tools --disable-nls --disable-shared \ 85 85 --disable-threads --enable-languages=c --with-abi=64</userinput></screen> -
BOOK/cross-tools/mips64/glibc-n32.xml
r51f1397 r07114c98 92 92 xpointer="xpointer(//*[@os='g'])"/> 93 93 94 <screen os="df"><userinput>BUILD_CC="gcc" CC="${ LFS_TARGET}-gcc ${BUILDN32}" \95 AR="${ LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \94 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILDN32}" \ 95 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 96 96 ../glibc-&glibc-version;/configure --prefix=/tools \ 97 --host=${ LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib32 \97 --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib32 \ 98 98 --disable-profile --enable-add-ons \ 99 99 --with-tls --enable-kernel=2.6.0 --with-__thread \ … … 105 105 106 106 <varlistentry os="fa1"> 107 <term><parameter>CC="${ LFS_TARGET}-gcc ${BUILDN32}"</parameter></term>107 <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILDN32}"</parameter></term> 108 108 <listitem> 109 109 <para>Forces Glibc to utilize our target architecture GCC utilizing -
BOOK/cross-tools/mips64/variables.xml
r51f1397 r07114c98 29 29 xpointer="xpointer(//*[@os='aa'])"/> 30 30 31 <screen os="ab"><userinput>export LFS_TARGET="mips64el-unknown-linux-gnu"</userinput></screen>31 <screen os="ab"><userinput>export CLFS_TARGET="mips64el-unknown-linux-gnu"</userinput></screen> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 35 35 xpointer="xpointer(//*[@os='ac'])"/> 36 36 37 <screen os="ad"><userinput>export LFS_TARGET="mips64-unknown-linux-gnu"</userinput></screen>37 <screen os="ad"><userinput>export CLFS_TARGET="mips64-unknown-linux-gnu"</userinput></screen> 38 38 39 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 41 41 xpointer="xpointer(//*[@os='m1'])"/> 42 42 43 <screen os="m2"><userinput>export LFS_TARGET32="`echo ${LFS_TARGET}| sed -e 's/64//g'`"</userinput></screen>43 <screen os="m2"><userinput>export CLFS_TARGET32="`echo ${CLFS_TARGET}| sed -e 's/64//g'`"</userinput></screen> 44 44 45 45 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> -
BOOK/cross-tools/multilib/binutils.xml
r51f1397 r07114c98 56 56 57 57 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 58 --host=${ LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \58 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 59 59 --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen> 60 60 -
BOOK/cross-tools/multilib/glibc-64bit.xml
r51f1397 r07114c98 76 76 xpointer="xpointer(//*[@os='g'])"/> 77 77 78 <screen os="df"><userinput>BUILD_CC="gcc" CC="${ LFS_TARGET}-gcc ${BUILD64}" \79 AR="${ LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \78 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD64}" \ 79 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 80 80 ../glibc-&glibc-version;/configure --prefix=/tools \ 81 --host=${ LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \81 --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib64 \ 82 82 --disable-profile --enable-add-ons \ 83 83 --with-tls --enable-kernel=2.6.0 --with-__thread \ … … 89 89 90 90 <varlistentry os="fa1"> 91 <term><parameter>CC="${ LFS_TARGET}-gcc ${BUILD64}"</parameter></term>91 <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD64}"</parameter></term> 92 92 <listitem> 93 93 <para>Forces Glibc to utilize our target architecture GCC utilizing -
BOOK/cross-tools/multilib/glibc.xml
r51f1397 r07114c98 71 71 xpointer="xpointer(//*[@os='g'])"/> 72 72 73 <screen os="df"><userinput>BUILD_CC="gcc" CC="${ LFS_TARGET}-gcc ${BUILD32}" \74 AR="${ LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \73 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ 74 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 75 75 ../glibc-&glibc-version;/configure --prefix=/tools \ 76 --host=${ LFS_TARGET32} --build=${LFS_HOST} \76 --host=${CLFS_TARGET32} --build=${CLFS_HOST} \ 77 77 --disable-profile --enable-add-ons \ 78 78 --with-tls --enable-kernel=2.6.0 --with-__thread \ … … 88 88 89 89 <varlistentry os="ea1"> 90 <term><parameter>CC="${ LFS_TARGET}-gcc ${BUILD32}"</parameter></term>90 <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD32}"</parameter></term> 91 91 <listitem> 92 92 <para>Forces Glibc to utilize our target architecture GCC utilizing -
BOOK/cross-tools/ppc/variables.xml
r51f1397 r07114c98 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export LFS_TARGET="powerpc-unknown-linux-gnu"</userinput></screen>27 <screen os="d"><userinput>export CLFS_TARGET="powerpc-unknown-linux-gnu"</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/ppc64/glibc-64bit.xml
r51f1397 r07114c98 85 85 xpointer="xpointer(//*[@os='g'])"/> 86 86 87 <screen os="df"><userinput>BUILD_CC="gcc" CC="${ LFS_TARGET}-gcc ${BUILD64}" \88 AR="${ LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \87 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD64}" \ 88 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 89 89 ../glibc-&glibc-version;/configure --prefix=/tools \ 90 --host=${ LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \90 --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib64 \ 91 91 --disable-profile --enable-add-ons \ 92 92 --with-tls --enable-kernel=2.6.0 --with-__thread \ … … 98 98 99 99 <varlistentry os="fa1"> 100 <term><parameter>CC="${ LFS_TARGET}-gcc ${BUILD64}"</parameter></term>100 <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD64}"</parameter></term> 101 101 <listitem> 102 102 <para>Forces Glibc to utilize our target architecture GCC utilizing -
BOOK/cross-tools/ppc64/glibc.xml
r51f1397 r07114c98 88 88 xpointer="xpointer(//*[@os='g'])"/> 89 89 90 <screen os="df"><userinput>BUILD_CC="gcc" CC="${ LFS_TARGET}-gcc ${BUILD32}" \91 AR="${ LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \90 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ 91 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 92 92 ../glibc-&glibc-version;/configure --prefix=/tools \ 93 --host=${ LFS_TARGET32} --build=${LFS_HOST} \93 --host=${CLFS_TARGET32} --build=${CLFS_HOST} \ 94 94 --disable-profile --enable-add-ons \ 95 95 --with-tls --enable-kernel=2.6.0 --with-__thread \ … … 105 105 106 106 <varlistentry os="ea1"> 107 <term><parameter>CC="${ LFS_TARGET}-gcc ${BUILD32}"</parameter></term>107 <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD32}"</parameter></term> 108 108 <listitem> 109 109 <para>Forces Glibc to utilize our target architecture GCC utilizing -
BOOK/cross-tools/ppc64/variables.xml
r51f1397 r07114c98 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export LFS_TARGET="powerpc64-unknown-linux-gnu"</userinput></screen>27 <screen os="d"><userinput>export CLFS_TARGET="powerpc64-unknown-linux-gnu"</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 31 31 xpointer="xpointer(//*[@os='m1'])"/> 32 32 33 <screen os="m2"><userinput>export LFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>33 <screen os="m2"><userinput>export CLFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen> 34 34 35 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/sparc/variables.xml
r51f1397 r07114c98 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export LFS_TARGET="sparc-unknown-linux-gnu"</userinput></screen>27 <screen os="d"><userinput>export CLFS_TARGET="sparc-unknown-linux-gnu"</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/sparc64/variables.xml
r51f1397 r07114c98 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export LFS_TARGET="sparc64-unknown-linux-gnu"</userinput></screen>27 <screen os="d"><userinput>export CLFS_TARGET="sparc64-unknown-linux-gnu"</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 31 31 xpointer="xpointer(//*[@os='m1'])"/> 32 32 33 <screen os="m2"><userinput>export LFS_TARGET32="sparc-unknown-linux-gnu"</userinput></screen>33 <screen os="m2"><userinput>export CLFS_TARGET32="sparc-unknown-linux-gnu"</userinput></screen> 34 34 35 35 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> -
BOOK/cross-tools/x86/gcc-final.xml
r51f1397 r07114c98 94 94 95 95 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 96 --target=${ LFS_TARGET} --host=${LFS_HOST} --disable-multilib \96 --target=${CLFS_TARGET} --host=${CLFS_HOST} --disable-multilib \ 97 97 --with-local-prefix=/tools --disable-nls --enable-shared \ 98 98 --enable-languages=c,c++ --enable-__cxa_atexit \ … … 145 145 <para os="bh">Continue with compiling the package:</para> 146 146 147 <screen os="bi"><userinput>make AS_FOR_TARGET="${ LFS_TARGET}-as" \148 LD_FOR_TARGET="${ LFS_TARGET}-ld"</userinput></screen>147 <screen os="bi"><userinput>make AS_FOR_TARGET="${CLFS_TARGET}-as" \ 148 LD_FOR_TARGET="${CLFS_TARGET}-ld"</userinput></screen> 149 149 150 150 <para os="bj">Install the package:</para> -
BOOK/cross-tools/x86/gcc-static.xml
r51f1397 r07114c98 73 73 74 74 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 75 --host=${ LFS_HOST} --target=${LFS_TARGET} --disable-multilib \75 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \ 76 76 --with-local-prefix=/tools --disable-nls --disable-shared \ 77 77 --disable-threads --enable-languages=c</userinput></screen> -
BOOK/cross-tools/x86/variables.xml
r51f1397 r07114c98 20 20 command:</para> 21 21 22 <screen os="b"><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>22 <screen os="b"><userinput>export CLFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen> 23 23 24 24 <para os="c">Now you will need to set the target triplet for the target … … 28 28 the command using the method listed below:</para> 29 29 30 <screen os="d"><userinput>export LFS_TARGET="{target triplet}"</userinput></screen>30 <screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen> 31 31 32 32 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> … … 35 35 case you have to exit and restart building later:</para> 36 36 37 <screen os="f"><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" >> ~/.bashrc38 echo export LFS_TARGET=\""${LFS_TARGET}\"" >> ~/.bashrc</userinput></screen>37 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc 38 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen> 39 39 40 40 <table os="g"> -
BOOK/cross-tools/x86_64-64/gcc-static.xml
r51f1397 r07114c98 79 79 80 80 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 81 --host=${ LFS_HOST} --target=${LFS_TARGET} --disable-multilib \81 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \ 82 82 --with-local-prefix=/tools --disable-nls --disable-shared \ 83 83 --disable-threads --enable-languages=c</userinput></screen> -
BOOK/cross-tools/x86_64/gcc-final.xml
r51f1397 r07114c98 95 95 96 96 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 97 --target=${ LFS_TARGET} --host=${LFS_HOST} \97 --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 98 98 --with-local-prefix=/tools --disable-nls --enable-shared \ 99 99 --enable-languages=c,c++ --enable-__cxa_atexit \ -
BOOK/cross-tools/x86_64/gcc-static.xml
r51f1397 r07114c98 81 81 82 82 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 83 --host=${ LFS_HOST} --target=${LFS_TARGET} \83 --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 84 84 --with-local-prefix=/tools --disable-nls --disable-shared \ 85 85 --disable-threads --enable-languages=c</userinput></screen> -
BOOK/cross-tools/x86_64/variables.xml
r51f1397 r07114c98 23 23 <para os="c">Now we will set our Target Triplet:</para> 24 24 25 <screen os="d"><userinput>export LFS_TARGET="x86_64-unknown-linux-gnu"</userinput></screen>25 <screen os="d"><userinput>export CLFS_TARGET="x86_64-unknown-linux-gnu"</userinput></screen> 26 26 27 27 <para os="m1">Now we will set our Target Triplet for 32 Bits:</para> 28 28 29 <screen os="m2"><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>29 <screen os="m2"><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen> 30 30 31 31 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> … … 35 35 xpointer="xpointer(//*[@os='e'])"/> 36 36 37 <screen os="f"><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" >> ~/.bashrc38 echo export LFS_TARGET=\""${LFS_TARGET}\"" >> ~/.bashrc39 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bashrc</userinput></screen>37 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc 38 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc 39 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ~/.bashrc</userinput></screen> 40 40 41 41 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.