Changeset bc2e3fa
- Timestamp:
- Dec 7, 2006, 11:23:24 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:
- 1e184e11
- Parents:
- 8473983
- Location:
- BOOK
- Files:
-
- 1 added
- 7 deleted
- 101 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/createfiles.xml
r8473983 rbc2e3fa 16 16 the next chapter after the software has been installed.</para> 17 17 18 <screen><userinput>cd ${CLFS}/bin 19 ln -sf ../tools/bin/{bash,cat,grep,pwd,rm,stty} . 20 ln -sf bash sh 21 cd ${CLFS}/usr/lib 22 ln -sv ../../tools/lib/libgcc_s.so{,.1} . 23 ln -sv ../../tools/lib/libstd*so* .</userinput></screen> 18 <screen><userinput>ln -sv /tools/bin/{bash,cat,grep,pwd,rm,stty} ${CLFS}/bin 19 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 20 ln -sv /tools/lib/libstd* ${CLFS}/usr/lib 21 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 24 22 25 23 </sect1> -
BOOK/boot/common/e2fsprogs.xml
r8473983 rbc2e3fa 82 82 xpointer="xpointer(//*[@os='k'])"/> 83 83 84 <screen os="l"><userinput>make DESTDIR=${CLFS} install-libs</userinput></screen> 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 href="../../final-system/common/e2fsprogs.xml" 86 xpointer="xpointer(//*[@os='l'])"/> 85 87 86 88 <para os="ad">Create needed symlinks for a bootable system:</para> -
BOOK/boot/common/module-init-tools.xml
r8473983 rbc2e3fa 42 42 xpointer="xpointer(//*[@os='j'])"/> 43 43 44 <screen os="k"><userinput>make DESTDIR= ${CLFS}install</userinput></screen>44 <screen os="k"><userinput>make DESTDIR="${CLFS}" install</userinput></screen> 45 45 46 46 </sect2> -
BOOK/boot/common/sysvinit.xml
r8473983 rbc2e3fa 30 30 -e "s@/dev/initctl@${CLFS}&@g" \ 31 31 -e 's@\(mknod \)-m \([0-9]* \)\(.* \)p@\1\3p; chmod \2\3@g' \ 32 -e "s@/usr/lib@ ${CLFS}/tools/lib@" \32 -e "s@/usr/lib@/tools/lib@" \ 33 33 src/Makefile.orig > src/Makefile</userinput></screen> 34 34 … … 44 44 xpointer="xpointer(//*[@os='e'])"/> 45 45 46 <screen os="ad"><userinput>make -C src install INSTALL= install ROOT=${CLFS}</userinput></screen>46 <screen os="ad"><userinput>make -C src install INSTALL="install" ROOT="${CLFS}"</userinput></screen> 47 47 48 48 </sect2> -
BOOK/boot/mips64/createfiles.xml
r8473983 rbc2e3fa 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>cd ${CLFS}/bin 18 ln -sf ../tools/bin/{bash,cat,grep,pwd,rm,stty} . 19 ln -sf bash sh 20 cd ${CLFS}/usr/lib 21 ln -sv ../../tools/lib/libgcc_s.so{,.1} . 22 ln -sv ../../tools/lib/libstd*so* . 23 cd ${CLFS}/usr/lib32 24 ln -sv ../../tools/lib32/libgcc_s.so{,.1} . 25 ln -sv ../../tools/lib32/libstd*so* . 26 cd ${CLFS}/usr/lib64 27 ln -sv ../../tools/lib64/libgcc_s.so{,.1} . 28 ln -sv ../../tools/lib64/libstd*so* .</userinput></screen> 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,pwd,stty} ${CLFS}/bin 18 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 19 ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32 20 ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64 21 ln -sv /tools/lib/libstd* ${CLFS}/usr/lib 22 ln -sv /tools/lib32/libstd* ${CLFS}/usr/lib32 23 ln -sv /tools/lib64/libstd* ${CLFS}/usr/lib64 24 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 29 25 30 26 </sect1> -
BOOK/boot/multilib/createfiles.xml
r8473983 rbc2e3fa 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>cd ${CLFS}/bin 18 ln -sf ../tools/bin/{bash,cat,grep,pwd,rm,stty} . 19 ln -sf bash sh 20 cd ${CLFS}/usr/lib 21 ln -sv ../../tools/lib/libgcc_s.so{,.1} . 22 ln -sv ../../tools/lib/libstd*so* . 23 ln -sv ../../tools/lib64/libgcc_s.so{,.1} . 24 ln -sv ../../tools/lib64/libstd*so* .</userinput></screen> 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,pwd,stty} ${CLFS}/bin 18 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 19 ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64 20 ln -sv /tools/lib/libstd* ${CLFS}/usr/lib 21 ln -sv /tools/lib64/libstd* ${CLFS}/usr/lib64 22 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 25 23 26 24 </sect1> -
BOOK/boot/multilib/e2fsprogs.xml
r8473983 rbc2e3fa 43 43 44 44 <screen os="aa"><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \ 45 --enable-elf-shlibs --disable-evms --with-cc="${CC} ${BUILD64} -fPIC" --with-linker=${LD} \45 --enable-elf-shlibs --disable-evms --with-cc="${CC} ${BUILD64}" --with-linker=${LD} \ 46 46 --host=${CLFS_TARGET}</userinput></screen> 47 47 -
BOOK/boot/ppc/yaboot-build.xml
r8473983 rbc2e3fa 67 67 xpointer="xpointer(//*[@os='i'])"/> 68 68 69 <screen><userinput>make CROSS=${CLFS_TARGET}- ROOT= ${CLFS} PREFIX=/toolsinstall</userinput></screen>69 <screen><userinput>make CROSS=${CLFS_TARGET}- ROOT=/tools PREFIX="" install</userinput></screen> 70 70 71 71 </sect2> -
BOOK/boot/ppc64/yaboot-build.xml
r8473983 rbc2e3fa 75 75 xpointer="xpointer(//*[@os='j0'])"/> 76 76 77 <screen><userinput>make CROSS=${CLFS_TARGET}- ROOT= ${CLFS} PREFIX=/toolsinstall 2>&1 | tee instlog</userinput></screen>77 <screen><userinput>make CROSS=${CLFS_TARGET}- ROOT=/tools PREFIX= install 2>&1 | tee instlog</userinput></screen> 78 78 79 79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/sparc/elftoaout.xml
r8473983 rbc2e3fa 37 37 <para>Install the package:</para> 38 38 39 <screen><userinput>install -v -m 0755 -s elftoaout ${CLFS}/cross-tools/bin</userinput></screen>39 <screen><userinput>install -v -m 0755 -s elftoaout /cross-tools/bin</userinput></screen> 40 40 41 41 </sect2> -
BOOK/boot/x86/grub.xml
r8473983 rbc2e3fa 35 35 xpointer="xpointer(//*[@os='f'])"/> 36 36 37 <screen os="g"><userinput>make DESTDIR=${CLFS} install 38 mkdir -pv ${CLFS} /boot/grub 39 cp -v ${CLFS}/usr/lib/grub/*/stage{1,2} ${CLFS}/boot/grub</userinput></screen>37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../../bootable/x86/grub.xml" 39 xpointer="xpointer(//*[@os='g'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/x86_64-64/bin86.xml
r8473983 rbc2e3fa 48 48 output is not for a native system.</para> 49 49 50 <screen os="f"><userinput>install -v -m 755 -s as/as86 ${CLFS}/cross-tools/bin/${CLFS_TARGET}-as8651 install -v -m 755 -s ld/ld86 ${CLFS}/cross-tools/bin/${CLFS_TARGET}-ld86</userinput></screen>50 <screen os="f"><userinput>install -v -m 755 -s as/as86 /cross-tools/bin/${CLFS_TARGET}-as86 51 install -v -m 755 -s ld/ld86 /cross-tools/bin/${CLFS_TARGET}-ld86</userinput></screen> 52 52 53 53 </sect2> -
BOOK/boot/x86_64-64/lilo-build.xml
r8473983 rbc2e3fa 34 34 when it runs:</para> 35 35 36 <screen os="d"><userinput>make -k lilo.static</userinput></screen>36 <screen os="d"><userinput>make lilo-static</userinput></screen> 37 37 38 38 <para os="e">Install only the parts we need:</para> 39 39 40 <screen os="f"><userinput>install -v -m755 lilo-static ${CLFS}/tools/bin41 install -v -m755 keytab-lilo.pl ${CLFS}/tools/bin</userinput></screen>40 <screen os="f"><userinput>install -v -m755 lilo-static /tools/bin 41 install -v -m755 keytab-lilo.pl /tools/bin</userinput></screen> 42 42 43 43 </sect2> -
BOOK/chroot/common/createfiles.xml
r8473983 rbc2e3fa 17 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,grep,pwd,rm,stty} /bin 18 18 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 19 ln -sv /tools/lib/libstd* so*/usr/lib19 ln -sv /tools/lib/libstd* /usr/lib 20 20 ln -sv bash /bin/sh</userinput></screen> 21 21 -
BOOK/chroot/common/util-linux.xml
r8473983 rbc2e3fa 78 78 <para os="cg">Copy these programs to the temporary tools directory:</para> 79 79 80 <screen os="ch"><userinput>cp -v mount/{,u}mount text-utils/more ${CLFS}/tools/bin</userinput></screen>80 <screen os="ch"><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen> 81 81 82 82 </sect2> -
BOOK/chroot/mips64/createfiles.xml
r8473983 rbc2e3fa 19 19 ln -sv /tools/lib32/libgcc_s.so{,.1} /usr/lib32 20 20 ln -sv /tools/lib64/libgcc_s.so{,.1} /usr/lib64 21 ln -sv /tools/lib/libstd* so*/usr/lib22 ln -sv /tools/lib32/libstd* so*/usr/lib3223 ln -sv /tools/lib64/libstd* so*/usr/lib6421 ln -sv /tools/lib/libstd* /usr/lib 22 ln -sv /tools/lib32/libstd* /usr/lib32 23 ln -sv /tools/lib64/libstd* /usr/lib64 24 24 ln -sv bash /bin/sh</userinput></screen> 25 25 -
BOOK/chroot/multilib/createfiles.xml
r8473983 rbc2e3fa 18 18 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 19 19 ln -sv /tools/lib64/libgcc_s.so{,.1} /usr/lib64 20 ln -sv /tools/lib/libstd* so*/usr/lib21 ln -sv /tools/lib64/libstd* so*/usr/lib6420 ln -sv /tools/lib/libstd* /usr/lib 21 ln -sv /tools/lib64/libstd* /usr/lib64 22 22 ln -sv bash /bin/sh</userinput></screen> 23 23 -
BOOK/cross-tools/64/binutils.xml
r8473983 rbc2e3fa 55 55 xpointer="xpointer(//*[@os='i'])"/> 56 56 57 <screen os="bc"><userinput>../binutils-&binutils-version;/configure \ 58 --prefix=${CLFS}/cross-tools --with-sysroot=${CLFS} --host=${CLFS_HOST} \ 59 --target=${CLFS_TARGET} --disable-nls --enable-shared \ 60 --enable-64-bit-bfd --disable-multilib --with-lib-path=${CLFS}/tools/lib</userinput></screen> 57 <screen os="ca"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 58 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 59 --disable-nls --enable-shared --enable-64-bit-bfd --disable-multilib</userinput></screen> 61 60 62 61 <variablelist os="bd"> -
BOOK/cross-tools/64/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n2'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n1'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 … … 85 77 --disable-profile --enable-add-ons \ 86 78 --with-tls --enable-kernel=2.6.0 --with-__thread \ 87 --with-binutils=${CLFS}/cross-tools/bin \ 88 --with-headers=${CLFS}/tools/include \ 79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 89 80 --cache-file=config.cache</userinput></screen> 90 81 -
BOOK/cross-tools/alpha/gcc-static.xml
r8473983 rbc2e3fa 76 76 xpointer="xpointer(//*[@os='h'])"/> 77 77 78 <screen><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\78 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 79 79 --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 80 80 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/alpha/glibc-headers.xml
r8473983 rbc2e3fa 49 49 50 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 51 href="../common/glibc.xml"52 xpointer="xpointer(//*[@os='n1'])"/>53 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"55 href="../common/glibc.xml"56 xpointer="xpointer(//*[@os='n2'])"/>57 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"59 51 href="../../final-system/common/glibc.xml" 60 52 xpointer="xpointer(//*[@os='g'])"/> … … 63 55 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 64 56 --disable-sanity-checks --enable-kernel=2.6.0 \ 65 --with-headers= ${CLFS}/tools/include --cache-file=config.cache \66 --with-binutils= ${CLFS}/cross-tools/${CLFS_TARGET}/bin</userinput></screen>57 --with-headers=/tools/include --cache-file=config.cache \ 58 --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen> 67 59 68 60 <note os="e1"> … … 122 114 123 115 <varlistentry os="ca7"> 124 <term><parameter>--with-headers= ${CLFS}/tools/include</parameter></term>116 <term><parameter>--with-headers=/tools/include</parameter></term> 125 117 <listitem> 126 118 <para>This tells Glibc to compile itself against the headers 127 recently installed to the <filename class="directory"> ${CLFS}/tools</filename>119 recently installed to the <filename class="directory">/tools</filename> 128 120 directory, so that it knows exactly what features the kernel has 129 121 and can optimize itself accordingly.</para> … … 132 124 133 125 <varlistentry os="ca8"> 134 <term><parameter>--with-binutils= ${CLFS}/cross-tools/${CLFS_TARGET}/bin</parameter></term>126 <term><parameter>--with-binutils=/cross-tools/${CLFS_TARGET}/bin</parameter></term> 135 127 <listitem> 136 128 <para>This tells Glibc to use the Binutils for our specific target architecture.</para> … … 148 140 149 141 <para os="cf">First we will copy a common file over to <filename 150 class="directory"> ${CLFS}/tools/include</filename>:</para>142 class="directory">/tools/include</filename>:</para> 151 143 152 <screen os="cg"><userinput>install -dv ${CLFS}/tools/include/bits153 cp -v bits/stdio_lim.h ${CLFS}/tools/include/bits</userinput></screen>144 <screen os="cg"><userinput>install -dv /tools/include/bits 145 cp -v bits/stdio_lim.h /tools/include/bits</userinput></screen> 154 146 155 147 <para os="ch">Now we will create a blank stub file:</para> 156 148 157 <screen os="ci"><userinput>touch ${CLFS}/tools/include/gnu/stubs.h</userinput></screen>149 <screen os="ci"><userinput>touch /tools/include/gnu/stubs.h</userinput></screen> 158 150 159 151 <para os="cj">Another header is needed for NPTL:</para> 160 152 161 <screen><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h \ 162 ${CLFS}/tools/include/bits/</userinput></screen> 153 <screen><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h /tools/include/bits/</userinput></screen> 163 154 164 155 </sect2> -
BOOK/cross-tools/alpha/glibc.xml
r8473983 rbc2e3fa 76 76 77 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 href="../common/glibc.xml"79 xpointer="xpointer(//*[@os='n1'])"/>80 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"82 href="../common/glibc.xml"83 xpointer="xpointer(//*[@os='n2'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 78 href="../../final-system/common/glibc.xml" 87 79 xpointer="xpointer(//*[@os='g'])"/> -
BOOK/cross-tools/alpha/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-alpha ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-alpha /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/common/binutils.xml
r8473983 rbc2e3fa 53 53 xpointer="xpointer(//*[@os='i'])"/> 54 54 55 <screen os="bc"><userinput>../binutils-&binutils-version;/configure \ 56 --prefix=${CLFS}/cross-tools --with-sysroot=${CLFS} --host=${CLFS_HOST} \ 57 --target=${CLFS_TARGET} --disable-nls --enable-shared \ 58 --disable-multilib --with-lib-path=${CLFS}/tools/lib</userinput></screen> 55 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 56 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 57 --disable-nls --enable-shared --disable-multilib</userinput></screen> 59 58 60 59 <variablelist os="bd"> … … 62 61 63 62 <varlistentry os="bd1"> 64 <term><parameter>--prefix= ${CLFS}/cross-tools</parameter></term>63 <term><parameter>--prefix=/cross-tools</parameter></term> 65 64 <listitem> 66 65 <para>This tells the configure script to prepare to install the 67 package in the <filename class="directory"> ${CLFS}/cross-tools</filename>66 package in the <filename class="directory">/cross-tools</filename> 68 67 directory.</para> 69 68 </listitem> … … 71 70 72 71 <varlistentry os="bd2"> 73 <term><parameter>--with-sysroot=${CLFS}</parameter></term>74 <listitem>75 <para>This tells configure that76 <filename class="directory">${CLFS}</filename> is going to be77 the root of our system. It will now use the specified sysroot,78 <filename class="directory">${CLFS}</filename>.</para>79 </listitem>80 </varlistentry>81 82 <varlistentry os="bd3">83 72 <term><parameter>--host=${CLFS_HOST}</parameter></term> 84 73 <listitem> … … 88 77 </varlistentry> 89 78 90 <varlistentry os="bd 4">79 <varlistentry os="bd3"> 91 80 <term><parameter>--target=${CLFS_TARGET}</parameter></term> 92 81 <listitem> 93 82 <para>When used with --host, this creates a cross-architecture 94 83 executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST}.</para> 84 </listitem> 85 </varlistentry> 86 87 <varlistentry os="bd4"> 88 <term><parameter>--with-lib-path=/tools/lib</parameter></term> 89 <listitem> 90 <para>This tells the configure script to specify the library 91 search path during the compilation of Binutils, resulting in 92 <filename class="directory">/tools/lib</filename> being passed 93 to the linker. This prevents the linker from searching through 94 library directories on the host.</para> 95 95 </listitem> 96 96 </varlistentry> … … 144 144 145 145 <para os="bj">Copy <filename class="headerfile">libiberty.h</filename> to 146 <filename class="directory"> ${CLFS}/tools/include</filename> directory:</para>146 <filename class="directory">/tools/include</filename> directory:</para> 147 147 148 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${CLFS}/tools/include</userinput></screen>148 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen> 149 149 150 150 </sect2> -
BOOK/cross-tools/common/glibc.xml
r8473983 rbc2e3fa 61 61 echo "libc_cv_c_cleanup=yes" >> config.cache</userinput></screen> 62 62 63 <para os="n1">The following line needs to be added to64 <filename>configparms</filename> to adjust installation paths.</para>65 66 <screen os="n2"><userinput>echo "install_root=${CLFS}" > configparms</userinput></screen>67 68 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 64 href="../../final-system/common/glibc.xml" … … 76 71 --disable-profile --enable-add-ons \ 77 72 --with-tls --enable-kernel=2.6.0 --with-__thread \ 78 --with-binutils=${CLFS}/cross-tools/bin \ 79 --with-headers=${CLFS}/tools/include \ 73 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 80 74 --cache-file=config.cache</userinput></screen> 81 75 … … 147 141 148 142 <varlistentry os="dg9"> 149 <term><parameter>--with-binutils= ${CLFS}/cross-tools/bin</parameter></term>143 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 150 144 <listitem> 151 145 <para>This tells Glibc to use the Binutils that are specific to -
BOOK/cross-tools/mips-chapter.xml
r8473983 rbc2e3fa 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/glibc-headers.xml"/>20 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-static.xml"/> 21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/glibc.xml"/> -
BOOK/cross-tools/mips/glibc.xml
r8473983 rbc2e3fa 84 84 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml"87 xpointer="xpointer(//*[@os='n1'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../common/glibc.xml"91 xpointer="xpointer(//*[@os='n2'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 86 href="../../final-system/common/glibc.xml" 95 87 xpointer="xpointer(//*[@os='g'])"/> -
BOOK/cross-tools/mips/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-mips ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-mips /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/mips64-64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/glibc.xml"/> -
BOOK/cross-tools/mips64-64/gcc-final.xml
r8473983 rbc2e3fa 83 83 xpointer="xpointer(//*[@os='h'])"/> 84 84 85 <screen os="bf" ><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\85 <screen os="bf" ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 86 86 --target=${CLFS_TARGET} --host=${CLFS_HOST} --with-abi=64 \ 87 87 --with-local-prefix=/tools --disable-nls --enable-shared \ -
BOOK/cross-tools/mips64-64/gcc-static.xml
r8473983 rbc2e3fa 76 76 xpointer="xpointer(//*[@os='h'])"/> 77 77 78 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\78 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 79 79 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-mutlilib \ 80 80 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/mips64-64/glibc.xml
r8473983 rbc2e3fa 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='n1'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../common/glibc.xml"91 xpointer="xpointer(//*[@os='n2'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../common/glibc.xml"95 87 xpointer="xpointer(//*[@os='g'])"/> 96 88 -
BOOK/cross-tools/mips64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/glibc.xml"/> -
BOOK/cross-tools/mips64/glibc-64bit.xml
r8473983 rbc2e3fa 84 84 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href=" glibc.xml"86 href="../multilib/glibc-64bit.xml" 87 87 xpointer="xpointer(//*[@os='n1'])"/> 88 88 89 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href=" glibc.xml"90 href="../multilib/glibc-64bit.xml" 91 91 xpointer="xpointer(//*[@os='n2'])"/> 92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../multilib/glibc-64bit.xml"95 xpointer="xpointer(//*[@os='n3'])"/>96 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"98 href="../multilib/glibc-64bit.xml"99 xpointer="xpointer(//*[@os='n4'])"/>100 92 101 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/mips64/glibc-n32.xml
r8473983 rbc2e3fa 83 83 xpointer="xpointer(//*[@os='de'])"/> 84 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="glibc.xml" 87 xpointer="xpointer(//*[@os='n1'])"/> 88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="glibc.xml" 91 xpointer="xpointer(//*[@os='n2'])"/> 92 93 <para os="n3">Tell Glibc to install its 32-bit libraries into <filename 85 <para os="n1">Tell Glibc to install its 32-bit libraries into <filename 94 86 class="directory">/tools/lib32</filename>:</para> 95 87 96 <screen os="n 4"><userinput>echo "slibdir=/tools/lib32" >> configparms</userinput></screen>88 <screen os="n2"><userinput>echo "slibdir=/tools/lib32" >> configparms</userinput></screen> 97 89 98 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 106 98 --disable-profile --enable-add-ons \ 107 99 --with-tls --enable-kernel=2.6.0 --with-__thread \ 108 --with-binutils= ${CLFS}/cross-tools/bin --with-headers=${CLFS}/tools/include \100 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 109 101 --cache-file=config.cache</userinput></screen> 110 102 -
BOOK/cross-tools/mips64/glibc.xml
r8473983 rbc2e3fa 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='n1'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../common/glibc.xml"91 xpointer="xpointer(//*[@os='n2'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../common/glibc.xml"95 87 xpointer="xpointer(//*[@os='g'])"/> 96 88 -
BOOK/cross-tools/multilib/binutils.xml
r8473983 rbc2e3fa 63 63 xpointer="xpointer(//*[@os='i'])"/> 64 64 65 <screen os="bc"><userinput>../binutils-&binutils-version;/configure \ 66 --prefix=${CLFS}/cross-tools --with-sysroot=${CLFS} --host=${CLFS_HOST} \ 67 --target=${CLFS_TARGET} --disable-nls --enable-shared \ 68 --enable-64-bit-bfd --with-lib-path=${CLFS}/tools/lib</userinput></screen> 65 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 66 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 67 --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen> 69 68 70 69 <variablelist os="bd"> -
BOOK/cross-tools/multilib/glibc-64bit.xml
r8473983 rbc2e3fa 67 67 xpointer="xpointer(//*[@os='de'])"/> 68 68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/> 72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="glibc.xml" 75 xpointer="xpointer(//*[@os='n2'])"/> 76 77 <para os="n3">Tell Glibc to install its 64-bit libraries into <filename 69 <para os="n1">Tell Glibc to install its 64-bit libraries into <filename 78 70 class="directory">/tools/lib64</filename>:</para> 79 71 80 <screen os="n 4"><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen>72 <screen os="n2"><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen> 81 73 82 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 90 82 --disable-profile --enable-add-ons \ 91 83 --with-tls --enable-kernel=2.6.0 --with-__thread \ 92 --with-binutils= ${CLFS}/cross-tools/bin --with-headers=${CLFS}/tools/include \84 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 93 85 --cache-file=config.cache</userinput></screen> 94 86 -
BOOK/cross-tools/multilib/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 … … 85 77 --disable-profile --enable-add-ons \ 86 78 --with-tls --enable-kernel=2.6.0 --with-__thread \ 87 --with-binutils=${CLFS}/cross-tools/bin \ 88 --with-headers=${CLFS}/tools/include \ 79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 89 80 --cache-file=config.cache</userinput></screen> 90 81 -
BOOK/cross-tools/ppc-chapter.xml
r8473983 rbc2e3fa 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/linux-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/glibc-headers.xml"/>20 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/gcc-static.xml"/> 21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/glibc.xml"/> -
BOOK/cross-tools/ppc/glibc.xml
r8473983 rbc2e3fa 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../common/glibc.xml"71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 70 href="../../final-system/common/glibc.xml" 79 71 xpointer="xpointer(//*[@os='g'])"/> -
BOOK/cross-tools/ppc/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-powerpc ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,asm-ppc,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-powerpc /tools/include/asm 31 cp -av include/{asm-generic,asm-ppc,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/ppc64/glibc-64bit.xml
r8473983 rbc2e3fa 74 74 75 75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 76 href=" glibc.xml"76 href="../multilib/glibc-64bit.xml" 77 77 xpointer="xpointer(//*[@os='n1'])"/> 78 78 79 79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 80 href=" glibc.xml"80 href="../multilib/glibc-64bit.xml" 81 81 xpointer="xpointer(//*[@os='n2'])"/> 82 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"84 href="../multilib/glibc-64bit.xml"85 xpointer="xpointer(//*[@os='n3'])"/>86 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"88 href="../multilib/glibc-64bit.xml"89 xpointer="xpointer(//*[@os='n4'])"/>90 82 91 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 99 91 --disable-profile --enable-add-ons \ 100 92 --with-tls --enable-kernel=2.6.0 --with-__thread \ 101 --with-binutils= ${CLFS}/cross-tools/bin --with-headers=${CLFS}/tools/include \93 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 102 94 --cache-file=config.cache</userinput></screen> 103 95 -
BOOK/cross-tools/ppc64/glibc.xml
r8473983 rbc2e3fa 86 86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 87 87 href="../common/glibc.xml" 88 xpointer="xpointer(//*[@os='n1'])"/>89 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"91 href="../common/glibc.xml"92 xpointer="xpointer(//*[@os='n2'])"/>93 94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"95 href="../common/glibc.xml"96 88 xpointer="xpointer(//*[@os='g'])"/> 97 89 … … 102 94 --disable-profile --enable-add-ons \ 103 95 --with-tls --enable-kernel=2.6.0 --with-__thread \ 104 --with-binutils=${CLFS}/cross-tools/bin \ 105 --with-headers=${CLFS}/tools/include \ 96 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 106 97 --cache-file=config.cache</userinput></screen> 107 98 -
BOOK/cross-tools/ppc64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-powerpc ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,asm-ppc,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-powerpc /tools/include/asm 31 cp -av include/{asm-generic,asm-ppc,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/sparc-chapter.xml
r8473983 rbc2e3fa 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/glibc-headers.xml"/>20 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/gcc-static.xml"/> 21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/glibc.xml"/> -
BOOK/cross-tools/sparc/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 -
BOOK/cross-tools/sparc/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-sparc ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-sparc /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/sparc64-64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/linux-headers.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/glibc.xml"/> -
BOOK/cross-tools/sparc64-64/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 … … 119 111 this with the following:</para> 120 112 121 <screen os="dp"><userinput>mv -v ${CLFS}/tools/include/gnu/stubs{-64,}.h</userinput></screen>113 <screen os="dp"><userinput>mv -v /tools/include/gnu/stubs{-64,}.h</userinput></screen> 122 114 123 115 </sect2> -
BOOK/cross-tools/sparc64-64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-sparc64 ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-sparc64 /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/sparc64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/linux-headers.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc.xml"/> -
BOOK/cross-tools/sparc64/glibc-64bit.xml
r8473983 rbc2e3fa 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../ common/glibc.xml"70 href="../multilib/glibc-64bit.xml" 71 71 xpointer="xpointer(//*[@os='n1'])"/> 72 72 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../ common/glibc.xml"74 href="../multilib/glibc-64bit.xml" 75 75 xpointer="xpointer(//*[@os='n2'])"/> 76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../multilib/glibc-64bit.xml"79 xpointer="xpointer(//*[@os='n3'])"/>80 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"82 href="../multilib/glibc-64bit.xml"83 xpointer="xpointer(//*[@os='n4'])"/>84 76 85 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/sparc64/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 … … 85 77 --disable-profile --enable-add-ons \ 86 78 --with-tls --enable-kernel=2.6.0 --with-__thread \ 87 --with-binutils=${CLFS}/cross-tools/bin \ 88 --with-headers=${CLFS}/tools/include \ 79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 89 80 --cache-file=config.cache</userinput></screen> 90 81 -
BOOK/cross-tools/sparc64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/{asm-generic,asm-sparc,asm-sparc64,linux} ${CLFS}/tools/include/31 cp -av include/asm-sparc64-biarch ${CLFS}/tools/include/asm</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/{asm-generic,asm-sparc,asm-sparc64,linux} /tools/include/ 31 cp -av include/asm-sparc64-biarch /tools/include/asm</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/x86-chapter.xml
r8473983 rbc2e3fa 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/glibc-headers.xml"/>20 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-static.xml"/> 21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/glibc.xml"/> -
BOOK/cross-tools/x86/gcc-final.xml
r8473983 rbc2e3fa 89 89 xpointer="xpointer(//*[@os='h'])"/> 90 90 91 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\91 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 92 92 --target=${CLFS_TARGET} --host=${CLFS_HOST} --disable-multilib \ 93 93 --with-local-prefix=/tools --disable-nls --enable-shared \ -
BOOK/cross-tools/x86/gcc-static.xml
r8473983 rbc2e3fa 52 52 53 53 <screen os="aj"><userinput>cp -v gcc/Makefile.in{,.orig} 54 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 ${CLFS}/tools/include@g" \54 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \ 55 55 gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 56 56 … … 67 67 xpointer="xpointer(//*[@os='h'])"/> 68 68 69 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\69 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 70 70 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \ 71 71 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/x86/linux-headers.xml
r8473983 rbc2e3fa 25 25 <para os="a">Install the header files that are needed for the base build:</para> 26 26 27 <screen><userinput>install -dv ${CLFS}/tools/include28 cp -av include/asm-i386 ${CLFS}/tools/include/asm29 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>27 <screen><userinput>install -dv /tools/include 28 cp -av include/asm-i386 /tools/include/asm 29 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 30 30 31 31 </sect2> -
BOOK/cross-tools/x86/variables.xml
r8473983 rbc2e3fa 20 20 command:</para> 21 21 22 <screen os="b"><userinput>export CLFS_HOST="$( sed 's/-*-[^-]*-/-cross-/' <<< $MACHTYPE)"</userinput></screen>22 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 23 23 24 24 <para os="c">Now you will need to set the target triplet for the target -
BOOK/cross-tools/x86_64-64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/linux-headers.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/glibc.xml"/> -
BOOK/cross-tools/x86_64-64/gcc-static.xml
r8473983 rbc2e3fa 74 74 xpointer="xpointer(//*[@os='h'])"/> 75 75 76 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\76 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 77 77 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \ 78 78 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/x86_64-64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-x86_64 ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-x86_64 /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/x86_64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/linux-headers.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/glibc.xml"/> -
BOOK/cross-tools/x86_64/gcc-final.xml
r8473983 rbc2e3fa 90 90 xpointer="xpointer(//*[@os='h'])"/> 91 91 92 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\92 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 93 93 --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 94 94 --with-local-prefix=/tools --disable-nls --enable-shared \ -
BOOK/cross-tools/x86_64/gcc-static.xml
r8473983 rbc2e3fa 76 76 xpointer="xpointer(//*[@os='h'])"/> 77 77 78 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\78 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 79 79 --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 80 80 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/x86_64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/{asm-generic,asm-i386,asm-x86_64,linux} ${CLFS}/tools/include/31 cp -av include/asm-x86_64-biarch ${CLFS}/tools/include/asm</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/{asm-generic,asm-i386,asm-x86_64,linux} /tools/include/ 31 cp -av include/asm-x86_64-biarch /tools/include/asm</userinput></screen> 32 32 33 33 </sect2> -
BOOK/final-preps/chapter.xml
r8473983 rbc2e3fa 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aboutclfs.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingtoolsdir.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingcrossdir.xml"/> 16 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="addinguser.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="settingenviron.xml"/> -
BOOK/final-preps/creatingtoolsdir.xml
r8473983 rbc2e3fa 9 9 <?dbhtml filename="creatingtoolsdir.html"?> 10 10 11 <title>Creating the temporary tools directories</title>11 <title>Creating the ${CLFS}/tools Directory</title> 12 12 13 <para>The cross-binutils and cross-compiler built in 14 <xref linkend="chapter-cross-tools"/> will be installed under 15 <filename class="directory">${CLFS}/cross-tools</filename> to keep them 16 separate from the host programs. The programs compiled here are 17 cross-tools and will not be a part of the final CLFS system or the 18 temp-system. Similarly, all programs compiled in 19 <xref linkend="chapter-temp-system"/> will be installed under 20 <filename class="directory">${CLFS}/tools</filename> to keep them separate 21 from the programs compiled in <xref linkend="chapter-building-system"/>. 22 This also prevents these programs from ending up in the host production 23 directories (easy to do by accident in <xref linkend="chapter-temp-system"/>). 24 By keeping the cross-compile tools and temporary-system programs in separate 25 directories, they can easily be discarded later after their use.</para> 13 <para>All programs compiled in <xref linkend="chapter-temp-system"/> 14 will be installed under <filename class="directory">${CLFS}/tools</filename> 15 to keep them separate from the programs compiled in <xref 16 linkend="chapter-building-system"/>. The programs compiled here are 17 temporary tools and will not be a part of the final CLFS system. By keeping 18 these programs in a separate directory, they can easily be discarded later 19 after their use. This also prevents these programs from ending up in the 20 host production directories (easy to do by accident in <xref 21 linkend="chapter-temp-system"/>).</para> 26 22 27 <para>Create the required director iesby running the following as23 <para>Create the required directory by running the following as 28 24 <systemitem class="username">root</systemitem>:</para> 29 25 30 <screen><userinput>install -dv ${CLFS}/{tools,cross-tools}</userinput></screen> 26 <screen><userinput>install -dv ${CLFS}/tools</userinput></screen> 27 28 <para>The next step is to create a <filename class="symlink">/tools</filename> 29 symlink on the host system. This will point to the newly-created directory 30 on the CLFS partition. Run this command as <systemitem 31 class="username">root</systemitem> as well:</para> 32 33 <screen><userinput>ln -sv ${CLFS}/tools /</userinput></screen> 34 35 <note> 36 <para>The above command is correct. The <command>ln</command> command 37 has a few syntactic variations, so be sure to check <command>info 38 coreutils ln</command> and <filename>ln(1)</filename> before reporting 39 what you may think is an error.</para> 40 </note> 41 42 <para>The created symlink enables the toolchain to be compiled so that 43 it always refers to <filename class="directory">/tools</filename>, 44 meaning that the compiler, assembler, and linker will work. This will 45 provide a common place for our temporary tools system.</para> 31 46 32 47 </sect1> -
BOOK/final-preps/settingenviron.xml
r8473983 rbc2e3fa 44 44 CLFS=/mnt/clfs 45 45 LC_ALL=POSIX 46 PATH= ${CLFS}/cross-tools/bin:/bin:/usr/bin46 PATH=/cross-tools/bin:/bin:/usr/bin 47 47 export CLFS LC_ALL PATH</literal> 48 48 EOF</userinput></screen> … … 56 56 the shell will always search the <envar>PATH</envar> when a program is to 57 57 be run. As such, the shell will find the newly compiled tools in 58 <filename class="directory"> ${CLFS}/cross-tools</filename> as soon as they are58 <filename class="directory">/cross-tools</filename> as soon as they are 59 59 available without remembering a previous version of the same program in a 60 60 different location.</para> … … 79 79 the chroot environment.</para> 80 80 81 <para os="j">By putting <filename class="directory"> ${CLFS}/cross-tools/bin</filename>81 <para os="j">By putting <filename class="directory">/cross-tools/bin</filename> 82 82 at the beginning of the <envar>PATH</envar>, the cross-compiler 83 83 built in <xref linkend="chapter-cross-tools"/> will be picked up by … … 85 85 may be installed on the host. This, combined with turning off 86 86 hashing, helps to ensure that you will be using the cross-compile 87 tools to build the temp-system in ${CLFS}/tools.</para>87 tools to build the temp-system in /tools.</para> 88 88 89 89 <para os="k">Finally, to have the environment fully prepared for building the -
BOOK/general.ent
r8473983 rbc2e3fa 2 2 3 3 <!ENTITY month "12"> <!-- Use two digits --> 4 <!ENTITY month_name " December">5 <!ENTITY day "0 7"> <!-- Use two digits -->4 <!ENTITY month_name "November"> 5 <!ENTITY day "02"> <!-- Use two digits --> 6 6 <!ENTITY year "2006"> <!-- Use four digits --> 7 7 -
BOOK/introduction/common/changelog.xml
r8473983 rbc2e3fa 46 46 <para>[jim] - Updated to Coreutils 6.7.</para> 47 47 </listitem> 48 </itemizedlist> 49 </listitem> 50 51 <listitem> 52 <para>December 5, 2006</para> 53 <itemizedlist> 54 <listitem> 55 <para>[jim] - Fixed lilo build in boot section. Trac Ticket #99.</para> 56 </listitem> 57 <listitem> 58 <para>[jim] - Added Binutils Branch Update Patch.</para> 59 </listitem> 60 <listitem> 61 <para>[jim] - Updated Essential Symlinks for boot section.</para> 62 </listitem> 63 <listitem> 64 <para>[jim] - Reverted change in gettext build in temp-system.</para> 65 </listitem> 66 </itemizedlist> 67 </listitem> 68 69 <listitem> 70 <para>December 4, 2006</para> 71 <itemizedlist> 72 <listitem> 73 <para>[Chris] - Combined creation of ${CLFS}/tools and 74 ${CLFS}/cross-tools onto one page.</para> 75 </listitem> 76 <listitem> 77 <para>[jim] - Updated to Linux Headers 2.6.19-12042006.</para> 78 </listitem> 79 </itemizedlist> 80 </listitem> 81 82 <listitem> 83 <para>December 3, 2006</para> 84 <itemizedlist> 85 <listitem> 86 <para>[jim] - Removed file from testsuite section and moved to temp-system.</para> 87 </listitem> 88 <listitem> 89 <para>[jim] - Removed zlib from boot section and moved to temp-system.</para> 48 <listitem> 49 <para>[jim] - Reverting sysroot changes.</para> 50 </listitem> 51 </itemizedlist> 52 </listitem> 53 54 <listitem> 55 <para>December 1, 2006</para> 56 <itemizedlist> 57 <listitem> 58 <para>[jim] - Updated to Man-Pages 2.43.</para> 90 59 </listitem> 91 60 <listitem> … … 93 62 upstream patch will all current updates to the 2.5 branch of glibc.</para> 94 63 </listitem> 95 </itemizedlist> 96 </listitem> 97 98 <listitem> 99 <para>December 2, 2006</para> 100 <itemizedlist> 101 <listitem> 102 <para>[jim and jciccone] - Converting /cross-tools and /tools to sysroot builds.</para> 103 </listitem> 104 </itemizedlist> 105 </listitem> 106 107 <listitem> 108 <para>December 1, 2006</para> 109 <itemizedlist> 110 <listitem> 111 <para>[jim] - Updated to Man-Pages 2.43.</para> 112 </listitem> 113 </itemizedlist> 114 </listitem> 115 116 <listitem> 117 <para>November 39, 2006</para> 64 <listitem> 65 <para>[jim] - Added Binutils Branch Update Patch.</para> 66 </listitem> 67 <listitem> 68 <para>[jim] - Reverted change in gettext build in temp-system.</para> 69 </listitem> 70 <listitem> 71 <para>[jim] - Updated to Coreutils 6.7.</para> 72 </listitem> 73 </itemizedlist> 74 </listitem> 75 76 <listitem> 77 <para>November 29, 2006</para> 118 78 <itemizedlist> 119 79 <listitem> -
BOOK/materials/common/patches.xml
r8473983 rbc2e3fa 200 200 201 201 <varlistentry> 202 <term>Patch DESTDIR Patch - <token>&patch-destdir-patch-size;</token>:</term>203 <listitem>204 <para>Download: <ulink205 url="&patches-root;&patch-destdir-patch;"/></para>206 <para>MD5 sum: <literal>&patch-destdir-patch-md5;</literal></para>207 </listitem>208 </varlistentry>209 210 <varlistentry>211 202 <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term> 212 203 <listitem> … … 283 274 url="&patches-root;&vim-fixes-patch;"/></para> 284 275 <para>MD5 sum: <literal>&vim-fixes-patch-md5;</literal></para> 285 </listitem>286 </varlistentry>287 288 <varlistentry>289 <term>Zlib DESTDIR Patch - <token>&zlib-destdir-patch-size;</token>:</term>290 <listitem>291 <para>Download: <ulink292 url="&patches-root;&zlib-destdir-patch;"/></para>293 <para>MD5 sum: <literal>&zlib-destdir-patch-md5;</literal></para>294 276 </listitem> 295 277 </varlistentry> -
BOOK/patches.ent
r8473983 rbc2e3fa 85 85 <!ENTITY mktemp-tempfile-patch-size "3.6 KB"> 86 86 87 <!ENTITY patch-destdir-patch "patch-&patch-version;-DESTDIR-1.patch">88 <!ENTITY patch-destdir-patch-md5 "3a7521b7dbc805caa1d3da9490668f88">89 <!ENTITY patch-destdir-patch-size "4 KB">90 91 87 <!ENTITY perl-libc-patch "perl-&perl-version;-libc-2.patch"> 92 88 <!ENTITY perl-libc-patch-md5 "3bf8aef1fb6eb6110405e699e4141f99"> … … 129 125 <!ENTITY vim-fixes-patch-size "320 KB"> 130 126 131 <!ENTITY zlib-destdir-patch "zlib-&zlib-version;-DESTDIR-1.patch">132 <!ENTITY zlib-destdir-patch-md5 "d21bdd08bf444f87f275b6aef44e1a84">133 <!ENTITY zlib-destdir-patch-size "8 KB">134 135 127 <!ENTITY zlib-fpic-patch "zlib-&zlib-version;-fPIC-1.patch"> 136 128 <!ENTITY zlib-fpic-patch-md5 "545d60b20bfde6f53023de44438cef59"> -
BOOK/temp-system/common/bash.xml
r8473983 rbc2e3fa 75 75 xpointer="xpointer(//*[@os='m'])"/> 76 76 77 <screen os="n"><userinput>make DESTDIR=${CLFS}install</userinput></screen>77 <screen os="n"><userinput>make install</userinput></screen> 78 78 79 79 <para os="ae">Make a link for programs that use <command>sh</command> for 80 80 a shell:</para> 81 81 82 <screen os="af"><userinput>ln -sv bash ${CLFS}/tools/bin/sh</userinput></screen>82 <screen os="af"><userinput>ln -sv bash /tools/bin/sh</userinput></screen> 83 83 84 84 </sect2> -
BOOK/temp-system/common/binutils.xml
r8473983 rbc2e3fa 67 67 xpointer="xpointer(//*[@os='bh'])"/> 68 68 69 <screen os="bi"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../../cross-tools/common/binutils.xml" 71 xpointer="xpointer(//*[@os='bi'])"/> 70 72 71 73 </sect2> -
BOOK/temp-system/common/bzip2.xml
r8473983 rbc2e3fa 38 38 <para os="cd">Install the package:</para> 39 39 40 <screen os="ce"><userinput>make PREFIX= ${CLFS}/tools install</userinput></screen>40 <screen os="ce"><userinput>make PREFIX=/tools install</userinput></screen> 41 41 42 42 </sect2> -
BOOK/temp-system/common/choose.xml
r8473983 rbc2e3fa 28 28 commands to see if you can chroot:</para> 29 29 30 <screen><userinput>${CLFS}/tools/lib/&glibc-ld-name; ${CLFS}/tools/lib/libc.so.6 31 ${CLFS}/tools/lib/&glibc-ld-name; --library-path ${CLFS}/tools/lib \ 32 ${CLFS}/tools/bin/gcc -v</userinput></screen> 30 <screen ><userinput>/tools/lib/libc.so.6 31 /tools/bin/gcc -v</userinput></screen> 33 32 34 33 <para>If either of these commands fail, you will have to follow the boot -
BOOK/temp-system/common/coreutils.xml
r8473983 rbc2e3fa 45 45 <para os="bh">Install the package:</para> 46 46 47 <screen os="bi"><userinput>make DESTDIR=${CLFS}install</userinput></screen>47 <screen os="bi"><userinput>make install</userinput></screen> 48 48 49 49 </sect2> -
BOOK/temp-system/common/diffutils.xml
r8473983 rbc2e3fa 34 34 <para os="e">Install the package:</para> 35 35 36 <screen os="f"><userinput>make DESTDIR=${CLFS}install</userinput></screen>36 <screen os="f"><userinput>make install</userinput></screen> 37 37 38 38 </sect2> -
BOOK/temp-system/common/findutils.xml
r8473983 rbc2e3fa 48 48 xpointer="xpointer(//*[@os='g'])"/> 49 49 50 <screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 51 href="../../final-system/common/findutils.xml" 52 xpointer="xpointer(//*[@os='h'])"/> 51 53 52 54 </sect2> -
BOOK/temp-system/common/gawk.xml
r8473983 rbc2e3fa 34 34 <para os="e">Install the package:</para> 35 35 36 <screen os="f"><userinput>make DESTDIR=${CLFS}install</userinput></screen>36 <screen os="f"><userinput>make install</userinput></screen> 37 37 38 38 </sect2> -
BOOK/temp-system/common/grep.xml
r8473983 rbc2e3fa 58 58 xpointer="xpointer(//*[@os='f'])"/> 59 59 60 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 href="../../final-system/common/grep.xml" 62 xpointer="xpointer(//*[@os='g'])"/> 61 63 62 64 </sect2> -
BOOK/temp-system/common/gzip.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os=" ac"><userinput>./configure --prefix=/tools \29 <screen os="b"><userinput>./configure --prefix=/tools \ 30 30 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen> 31 31 … … 42 42 xpointer="xpointer(//*[@os='f'])"/> 43 43 44 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../../final-system/common/gzip.xml" 46 xpointer="xpointer(//*[@os='g'])"/> 45 47 46 48 </sect2> -
BOOK/temp-system/common/make.xml
r8473983 rbc2e3fa 42 42 xpointer="xpointer(//*[@os='f'])"/> 43 43 44 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../../final-system/common/make.xml" 46 xpointer="xpointer(//*[@os='g'])"/> 45 47 46 48 </sect2> -
BOOK/temp-system/common/ncurses.xml
r8473983 rbc2e3fa 90 90 xpointer="xpointer(//*[@os='f'])"/> 91 91 92 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 93 href="../../final-system/common/ncurses.xml" 94 xpointer="xpointer(//*[@os='g'])"/> 93 95 94 96 </sect2> -
BOOK/temp-system/common/patch.xml
r8473983 rbc2e3fa 23 23 <title>Installation of Patch</title> 24 24 25 <para os="p1">This patch will add the ability to use DESTDIR:</para>26 27 <screen os="p2"><userinput>patch -Np1 -i ../&patch-destdir-patch;</userinput></screen>28 29 25 <para os="a">Prepare Patch for compilation:</para> 30 26 … … 38 34 <para os="e">Install the package:</para> 39 35 40 <screen os="f"><userinput>make DESTDIR=${CLFS}install</userinput></screen>36 <screen os="f"><userinput>make install</userinput></screen> 41 37 42 38 </sect2> -
BOOK/temp-system/common/sed.xml
r8473983 rbc2e3fa 34 34 <para os="e">Install the package:</para> 35 35 36 <screen os="f"><userinput>make DESTDIR=${CLFS}install</userinput></screen>36 <screen os="f"><userinput>make install</userinput></screen> 37 37 38 38 </sect2> -
BOOK/temp-system/common/tar.xml
r8473983 rbc2e3fa 42 42 xpointer="xpointer(//*[@os='f'])"/> 43 43 44 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../../final-system/common/tar.xml" 46 xpointer="xpointer(//*[@os='g'])"/> 45 47 46 48 </sect2> -
BOOK/temp-system/common/texinfo.xml
r8473983 rbc2e3fa 42 42 xpointer="xpointer(//*[@os='f'])"/> 43 43 44 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../../final-system/common/texinfo.xml" 46 xpointer="xpointer(//*[@os='g'])"/> 45 47 46 48 </sect2> -
BOOK/temp-system/common/zlib.xml
r8473983 rbc2e3fa 22 22 <sect2 role="installation"> 23 23 <title>Installation of Zlib</title> 24 25 <para os="p1">This patch will add the ability to use DESTDIR:</para>26 27 <screen os="p2"><userinput>patch -Np1 -i ../&zlib-destdir-patch;</userinput></screen>28 24 29 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/mips64/choose.xml
r8473983 rbc2e3fa 23 23 xpointer="xpointer(//*[@os='c'])"/> 24 24 25 <screen><userinput>${CLFS}/tools/lib/&glibc-ld-name; ${CLFS}/tools/lib/libc.so.6 26 ${CLFS}/tools/lib32/&glibc-ld-name; ${CLFS}/tools/lib32/libc.so.6 27 ${CLFS}/tools/lib64/&glibc-ld-name; ${CLFS}/tools/lib64/libc.so.6 28 ${CLFS}/tools/lib64/&glibc-ld-name; --library-path ${CLFS}/tools/lib64 \ 29 ${CLFS}/tools/bin/gcc -v</userinput></screen> 25 <screen ><userinput>/tools/lib/libc.so.6 26 /tools/lib32/libc.so.6 27 /tools/lib64/libc.so.6 28 /tools/bin/gcc -v</userinput></screen> 30 29 31 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/multilib/bash.xml
r8473983 rbc2e3fa 44 44 45 45 <screen os="h"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 46 ./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 46 ./configure --prefix=/tools \ 47 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 47 48 --without-bash-malloc --cache-file=config.cache</userinput></screen> 48 49 -
BOOK/temp-system/multilib/choose.xml
r8473983 rbc2e3fa 23 23 xpointer="xpointer(//*[@os='c'])"/> 24 24 25 <screen><userinput>${CLFS}/tools/lib/&glibc-ld-name; ${CLFS}/tools/lib/libc.so.6 26 ${CLFS}/tools/lib64/&glibc-ld-name; ${CLFS}/tools/lib64/libc.so.6 27 ${CLFS}/tools/lib64/&glibc-ld-name; --library-path ${CLFS}/tools/lib64 \ 28 ${CLFS}/tools/bin/gcc -v</userinput></screen> 25 <screen ><userinput>/tools/lib/libc.so.6 26 /tools/lib64/libc.so.6 27 /tools/bin/gcc -v</userinput></screen> 29 28 30 29 <para os="d">If any of these commands fail, you will have to follow the boot 31 30 method.</para> 31 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/multilib/gzip.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os=" ac"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \29 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 30 30 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen> 31 31 -
BOOK/temp-system/multilib/make.xml
r8473983 rbc2e3fa 43 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../ common/make.xml"45 href="../../final-system/common/make.xml" 46 46 xpointer="xpointer(//*[@os='g'])"/> 47 47 -
BOOK/temp-system/multilib/patch.xml
r8473983 rbc2e3fa 22 22 <sect2 role="installation"> 23 23 <title>Installation of Patch</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/patch.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/patch.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 24 33 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/multilib/zlib.xml
r8473983 rbc2e3fa 22 22 <sect2 role="installation"> 23 23 <title>Installation of Zlib</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/zlib.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/zlib.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 24 33 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/sparc-chapter.xml
r8473983 rbc2e3fa 31 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tar.xml"/> 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/texinfo.xml"/> 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>34 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/> 35 34 -
BOOK/temp-system/x86/gcc.xml
r8473983 rbc2e3fa 66 66 67 67 <screen os="cg"><userinput>cp -v gcc/Makefile.in{,.orig} 68 sed -e "s@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 ${CLFS}/tools/include@g"\68 sed -e 's@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g' \ 69 69 gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 70 70 … … 111 111 <para os="co">Install the package:</para> 112 112 113 <screen os="cp"><userinput>make DESTDIR=${CLFS}install</userinput></screen>113 <screen os="cp"><userinput>make install</userinput></screen> 114 114 115 115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 117 117 xpointer="xpointer(//*[@os='w'])"/> 118 118 119 <screen os="cq"><userinput>ln -sv gcc ${CLFS}/tools/bin/cc</userinput></screen>119 <screen os="cq"><userinput>ln -sv gcc /tools/bin/cc</userinput></screen> 120 120 121 121 </sect2> -
BOOK/temp-system/x86_64/gcc.xml
r8473983 rbc2e3fa 76 76 77 77 <screen os="db"><userinput>cp -v gcc/Makefile.in{,.orig2} 78 sed -e "/MULTILIBS/s@\$(GCC_FOR_TARGET)@ ${CLFS}/cross-tools/bin/${CC}@g" \78 sed -e "/MULTILIBS/s@\$(GCC_FOR_TARGET)@/cross-tools/bin/${CC}@g" \ 79 79 gcc/Makefile.in.orig2 > gcc/Makefile.in</userinput></screen> 80 80
Note:
See TracChangeset
for help on using the changeset viewer.