Changeset d018b81
- Timestamp:
- Jul 28, 2007, 7:43:26 AM (17 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 5ec7618f
- Parents:
- c304f4c
- Location:
- BOOK
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/whatnext.xml
rc304f4c rd018b81 23 23 <table> 24 24 <title>Boot Methods</title> 25 <tgroup cols="2" align="center"> 26 <colspec colname="Method"/> 27 <colspec colname="Arch"/> 28 <colspec colname="Link"/> 25 <?dbfo table-width="6in" ?> 26 27 <tgroup cols="3"> 28 29 <colspec colnum="1" colwidth="1in" colname="Method"/> 30 <colspec colnum="2" colwidth="2.5in" colname="Arch"/> 31 <colspec colnum="3" colwidth="2.5in" colname="Link"/> 32 29 33 <thead> 30 34 <row> … … 34 38 </row> 35 39 </thead> 40 36 41 <tbody> 37 42 <row> … … 41 46 </row> 42 47 </tbody> 48 43 49 </tgroup> 50 44 51 </table> 45 52 -
BOOK/boot/mips64/flags.xml
rc304f4c rd018b81 16 16 echo export BUILDN32=\""${BUILDN32}\"" >> ${CLFS}/root/.bash_profile 17 17 echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile 18 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> 18 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> \ 19 ${CLFS}/root/.bash_profile</userinput></screen> 19 20 20 21 </sect1> -
BOOK/boot/multilib/e2fsprogs.xml
rc304f4c rd018b81 43 43 44 44 <screen os="aa"><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \ 45 --enable-elf-shlibs --disable-evms --with-cc="${CC} ${BUILD64}" --with-linker=${LD}\46 --host=${CLFS_TARGET}</userinput></screen>45 --enable-elf-shlibs --disable-evms --with-cc="${CC} ${BUILD64}" \ 46 --with-linker=${LD} --host=${CLFS_TARGET}</userinput></screen> 47 47 48 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/ppc64/e2fsprogs.xml
rc304f4c rd018b81 55 55 56 56 <screen os="aa"><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \ 57 --enable-elf-shlibs --disable-evms --with-cc="${CC} ${BUILD64}" --with-linker=${LD} \ 58 --build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen> 57 --enable-elf-shlibs --disable-evms --with-cc="${CC} ${BUILD64}" \ 58 --with-linker=${LD} --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 59 --cache-file=config.cache</userinput></screen> 59 60 60 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/sparc64/flags.xml
rc304f4c rd018b81 15 15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile 16 16 echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile 17 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> 17 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> \ 18 ${CLFS}/root/.bash_profile</userinput></screen> 18 19 19 20 </sect1> -
BOOK/boot/x86_64/flags.xml
rc304f4c rd018b81 15 15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile 16 16 echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile 17 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> 17 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> \ 18 ${CLFS}/root/.bash_profile</userinput></screen> 18 19 19 20 </sect1> -
BOOK/bootable/ppc/yaboot.xml
rc304f4c rd018b81 59 59 way. At least some of the distros specify a full OF path to the 'device' and 60 60 to the image(s), such as 61 < filename class="devicefile">device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:62 </filename>for the disk, and63 < filename class="partition">image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/clfskernel-&linux-version;64 </filename>which definitely works.</para>61 <parameter>device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:</parameter> 62 for the disk, and 63 <parameter>image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/clfskernel-&linux-version;</parameter> 64 which definitely works.</para> 65 65 66 66 <para os="k">Create a <quote>yaboot.conf</quote> file defining yaboot's boot 67 67 menu:</para> 68 68 69 <screen os="l" role="nodump">< userinput>cat > /etc/yaboot.conf << "EOF"69 <screen os="l" role="nodump"><?dbfo keep-together="auto"?><userinput>cat > /etc/yaboot.conf << "EOF" 70 70 <literal># Begin /etc/yaboot.conf 71 71 … … 89 89 root=/dev/hda7 90 90 91 # where ybin is to find yaboot and ofboot 91 # where ybin is to find yaboot and ofboot 92 92 install=/usr/lib/yaboot/yaboot 93 93 magicboot=/usr/lib/yaboot/ofboot -
BOOK/bootscripts/common/inputrc.xml
rc304f4c rd018b81 37 37 using the following command:</para> 38 38 39 <screen>< userinput>cat > /etc/inputrc << "EOF"39 <screen><?dbfo keep-together="auto"?><userinput>cat > /etc/inputrc << "EOF" 40 40 <literal># Begin /etc/inputrc 41 41 # Modified by Chris Lynn <roryo@roryo.dynup.net> -
BOOK/cross-tools/alpha/glibc-headers.xml
rc304f4c rd018b81 27 27 because this only installs the headers, no compiling takes place. In the 28 28 next Glibc installation, we use the GCC that's built right after this section:</para> 29 29 30 30 <screen os="s2"><userinput>cp -v configure{,.orig} 31 31 sed -e 's/3.4/3.[0-9]/g' configure.orig > configure</userinput></screen> … … 65 65 <variablelist os="ca"> 66 66 <title>The meaning of the configure options:</title> 67 67 68 68 <varlistentry os="ca1"> 69 69 <term><parameter>CC=gcc</parameter></term> … … 72 72 </listitem> 73 73 </varlistentry> 74 74 75 75 <varlistentry os="ca2"> 76 76 <term><parameter>--prefix=/tools</parameter></term> … … 81 81 </listitem> 82 82 </varlistentry> 83 83 84 84 <varlistentry os="ca3"> 85 85 <term><parameter>--build=${CLFS_HOST}</parameter></term> … … 89 89 </listitem> 90 90 </varlistentry> 91 91 92 92 <varlistentry os="ca4"> 93 93 <term><parameter>--host=${CLFS_TARGET}</parameter></term> … … 97 97 </listitem> 98 98 </varlistentry> 99 99 100 100 <varlistentry os="ca5"> 101 101 <term><parameter>--disable-sanity-checks</parameter></term> … … 104 104 </listitem> 105 105 </varlistentry> 106 106 107 107 <varlistentry os="ca6"> 108 108 <term><parameter>--enable-kernel=2.6.0</parameter></term> … … 112 112 </listitem> 113 113 </varlistentry> 114 114 115 115 <varlistentry os="ca7"> 116 116 <term><parameter>--with-headers=/tools/include</parameter></term> … … 122 122 </listitem> 123 123 </varlistentry> 124 124 125 125 <varlistentry os="ca8"> 126 126 <term><parameter>--with-binutils=/cross-tools/${CLFS_TARGET}/bin</parameter></term> … … 129 129 </listitem> 130 130 </varlistentry> 131 131 132 132 </variablelist> 133 133 134 134 <para os="cb">Now, install the headers:</para> 135 135 … … 139 139 we will copy the additional header files we need.</para> 140 140 141 <para os="cf">First we will copy a common file over to <filename 141 <para os="cf">First we will copy a common file over to <filename 142 142 class="directory">/tools/include</filename>:</para> 143 143 … … 150 150 151 151 <para os="cj">Another header is needed for NPTL:</para> 152 153 <screen><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h /tools/include/bits/</userinput></screen> 152 153 <screen><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h \ 154 /tools/include/bits/</userinput></screen> 154 155 155 156 </sect2> -
BOOK/cross-tools/alpha/variables.xml
rc304f4c rd018b81 45 45 <table os="g"> 46 46 <title>Processor Type and Target Triplets</title> 47 <tgroup cols="2" align="center"> 48 <colspec colname="Processor"/> 49 <colspec colname="Triplet"/> 47 48 <tgroup cols="2"> 49 <?dbfo table-width="5in" ?> 50 51 <colspec colnum="1" colwidth="2.5in" colname="Processor"/> 52 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/> 53 50 54 <thead> 51 55 <row> … … 54 58 </row> 55 59 </thead> 60 56 61 <tbody> 57 62 <row> … … 88 93 </row> 89 94 </tbody> 95 90 96 </tgroup> 97 91 98 </table> 92 99 -
BOOK/cross-tools/sparc64-64/flags.xml
rc304f4c rd018b81 14 14 xpointer="xpointer(//*[@os='a'])"/> 15 15 16 <screen os="b"><userinput>export BUILD64=" [BUILD64 entries]"17 export GCCTARGET=" [GCCTARGET entries]"</userinput></screen>16 <screen os="b"><userinput>export BUILD64="<replaceable>[BUILD64 entries]</replaceable>" 17 export GCCTARGET="<replaceable>[GCCTARGET entries]</replaceable>"</userinput></screen> 18 18 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 30 30 <table os="f"> 31 31 <title>List of architectures, target triplets, and recommended book</title> 32 <tgroup cols="2" align="center"> 33 <colspec colname="Processor"/> 34 <colspec colname="Build64"/> 35 <colspec colname="GCC"/> 32 <?dbfo table-width="7in" ?> 33 34 <tgroup cols="3"> 35 36 <colspec colnum="1" colwidth="1in" colname="Processor"/> 37 <colspec colnum="2" colwidth="3.2in" colname="Build64"/> 38 <colspec colnum="3" colwidth="2.8in" colname="GCC"/> 39 36 40 <thead> 37 41 <row> … … 41 45 </row> 42 46 </thead> 47 43 48 <tbody> 44 49 <row> … … 53 58 </row> 54 59 </tbody> 60 55 61 </tgroup> 62 56 63 </table> 57 64 -
BOOK/cross-tools/sparc64/flags.xml
rc304f4c rd018b81 14 14 from the table at the bottom of the page.</para> 15 15 16 <screen os="b"><userinput>export BUILD32=" [BUILD32 entries]"17 export BUILD64=" [BUILD64 entries]"18 export GCCTARGET=" [GCCTARGET entries]"</userinput></screen>16 <screen os="b"><userinput>export BUILD32="<replaceable>[BUILD32 entries]</replaceable>" 17 export BUILD64="<replaceable>[BUILD64 entries]</replaceable>" 18 export GCCTARGET="<replaceable>[GCCTARGET entries]</replaceable>"</userinput></screen> 19 19 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 33 33 <table os="f"> 34 34 <title>List of 32-Bit settings, 64-Bit Build settings, and GCC setting</title> 35 <tgroup cols="2" align="center"> 36 <colspec colname="Processor"/> 37 <colspec colname="Build32"/> 38 <colspec colname="Build64"/> 39 <colspec colname="GCC"/> 35 <?dbfo table-width="7in" ?> 36 37 <tgroup cols="4"> 38 39 <colspec colnum="1" colwidth="1in" colname="Processor"/> 40 <colspec colnum="2" colwidth="2in" colname="Build32"/> 41 <colspec colnum="3" colwidth="2in" colname="Build64"/> 42 <colspec colnum="4" colwidth="2in" colname="GCC"/> 43 40 44 <thead> 41 45 <row> … … 46 50 </row> 47 51 </thead> 52 48 53 <tbody> 49 54 <row> … … 60 65 </row> 61 66 </tbody> 67 62 68 </tgroup> 69 63 70 </table> 64 71 -
BOOK/cross-tools/x86/gcc-final.xml
rc304f4c rd018b81 67 67 68 68 <screen os="be"><userinput>cp -v configure{,.orig} 69 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig >configure</userinput></screen> 69 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig > \ 70 configure</userinput></screen> 70 71 71 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/x86/variables.xml
rc304f4c rd018b81 22 22 following command:</para> 23 23 24 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 24 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | \ 25 sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 25 26 26 27 <para os="c">Now you will need to set the triplet for the target … … 42 43 <table os="g"> 43 44 <title>Processor Type and Target Triplets</title> 44 <tgroup cols="2" align="center"> 45 <colspec colname="Processor"/> 46 <colspec colname="Triplet"/> 45 <?dbfo table-width="5in" ?> 46 47 <tgroup cols="2"> 48 49 <colspec colnum="1" colwidth="2.5in" colname="Processor"/> 50 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/> 51 47 52 <thead> 48 53 <row> … … 51 56 </row> 52 57 </thead> 58 53 59 <tbody> 54 60 <row> … … 73 79 </row> 74 80 </tbody> 81 75 82 </tgroup> 83 76 84 </table> 77 85 -
BOOK/cross-tools/x86_64/gcc-final.xml
rc304f4c rd018b81 68 68 69 69 <screen os="be"><userinput>cp -v configure{,.orig} 70 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig >configure</userinput></screen> 70 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig > \ 71 configure</userinput></screen> 71 72 72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/common/m4.xml
rc304f4c rd018b81 59 59 60 60 <varlistentry id="m4"> 61 <term><command>m4</command></term> 61 <!-- Don't remove the extra space, it prevet a FOP warning. --> 62 <term><command>m4 </command></term> 62 63 <listitem> 63 64 <para>copies the given files while expanding the macros that they -
BOOK/final-system/multilib/shadow-64bit.xml
rc304f4c rd018b81 41 41 to make sure the correct library is linked:</para> 42 42 43 44 45 43 <screen role="nodump"><userinput>sed -i libtool \ 44 -e 's@\(^sys_lib_search_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g' \ 45 -e 's@\(^sys_lib_dlsearch_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g'</userinput></screen> 46 46 </note> 47 47 -
BOOK/final-system/multilib/shadow-n32.xml
rc304f4c rd018b81 41 41 to make sure the correct library is linked.</para> 42 42 43 44 45 43 <screen role="nodump"><userinput>sed -i libtool \ 44 -e 's@\(^sys_lib_search_path_spec=\).*@\1"/lib32 /usr/lib32 /usr/local/lib32"@g' \ 45 -e 's@\(^sys_lib_dlsearch_path_spec=\).*@\1"/lib32 /usr/lib32 /usr/local/lib32"@g'</userinput></screen> 46 46 </note> 47 47 -
BOOK/final-system/multilib/temp-perl.xml
rc304f4c rd018b81 43 43 xpointer="xpointer(//*[@os='c'])"/> 44 44 45 <screen os="c"><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper IO Fcntl POSIX' -Dcc="gcc ${BUILD32}"</userinput></screen> 45 <screen os="c"><userinput>./configure.gnu --prefix=/tools \ 46 -Dstatic_ext='Data/Dumper IO Fcntl POSIX' -Dcc="gcc ${BUILD32}"</userinput></screen> 46 47 47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/udev-64bit.xml
rc304f4c rd018b81 32 32 33 33 <screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \ 34 EXTRAS="extras/cdrom_id extras/floppy extras/firmware extras/scsi_id extras/volume_id \ 35 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id extras/path_id"</userinput></screen> 34 EXTRAS="extras/cdrom_id extras/floppy extras/firmware extras/scsi_id \ 35 extras/volume_id extras/ata_id extras/usb_id extras/edd_id \ 36 extras/dasd_id extras/path_id"</userinput></screen> 36 37 37 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/common/introduction.xml
rc304f4c rd018b81 37 37 messages like the one below. It is safe to ignore these messages.</para> 38 38 39 < blockquote><screen><computeroutput>configure: WARNING: If you wanted to set the --build type, don't use --host.40 If a cross compiler is detected then cross compile mode will be used.</computeroutput></screen> </blockquote>39 <screen><computeroutput>configure: WARNING: If you wanted to set the --build type, don't use --host. 40 If a cross compiler is detected then cross compile mode will be used.</computeroutput></screen> 41 41 42 42 -
BOOK/temp-system/mips64-64/gcc.xml
rc304f4c rd018b81 91 91 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 92 92 --with-local-prefix=/tools --enable-long-long --with-abi=64 \ 93 --enable-c99 --enable-shared --enable-threads=posix -- enable-__cxa_atexit\94 -- disable-nls--enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>93 --enable-c99 --enable-shared --enable-threads=posix --disable-nls \ 94 --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 95 95 96 96 <variablelist> -
BOOK/temp-system/mips64/gcc.xml
rc304f4c rd018b81 89 89 <screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 90 90 ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \ 91 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} --with-abi=64\92 --with- local-prefix=/tools --enable-long-long --enable-c99\93 --enable- shared --enable-threads=posix --enable-__cxa_atexit\94 -- disable-nls--enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>91 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 92 --with-abi=64 --with-local-prefix=/tools --enable-long-long \ 93 --enable-c99 --enable-shared --enable-threads=posix --disable-nls \ 94 --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 95 95 96 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/ppc64/choose.xml
rc304f4c rd018b81 31 31 64-bit Linux 2.6 kernel (with a 64-bit personality):</para> 32 32 33 <screen><userinput>uname -a | grep '^Linux.*2\.6\..*ppc64' && echo "ok to chroot" || echo "you must boot"</userinput></screen> 33 <screen><userinput>uname -a | grep '^Linux.*2\.6\..*ppc64' && \ 34 echo "ok to chroot" || echo "you must boot"</userinput></screen> 34 35 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/x86_64-64/gcc.xml
rc304f4c rd018b81 91 91 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 92 92 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \ 93 --enable-c99 --enable-shared --enable-threads=posix -- enable-__cxa_atexit\94 -- disable-nls--enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>93 --enable-c99 --enable-shared --enable-threads=posix --disable-nls \ 94 --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 95 95 96 96 <variablelist>
Note:
See TracChangeset
for help on using the changeset viewer.