Changeset 586feb7 in clfs-sysroot for BOOK/cross-tools/common


Ignore:
Timestamp:
Jul 2, 2006, 12:45:15 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
940e6b3
Parents:
89c10a9
Message:

Updated the bootscripts package and make LFS to CLFS updates.

Location:
BOOK/cross-tools/common
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/binutils.xml

    r89c10a9 r586feb7  
    4848    xpointer="xpointer(//*[@os='c'])"/>
    4949
    50 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=${LFS}/cross-tools \
    51    --host=${LFS_HOST} --target=${LFS_TARGET} --with-sysroot=${LFS} \
     50<screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=${CLFS}/cross-tools \
     51   --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=${CLFS} \
    5252   --disable-nls --enable-shared --disable-multilib</userinput></screen>
    5353
     
    5656
    5757      <varlistentry os="bd1">
    58         <term><parameter>--prefix=${LFS}/cross-tools</parameter></term>
     58        <term><parameter>--prefix=${CLFS}/cross-tools</parameter></term>
    5959        <listitem>
    6060          <para>This tells the configure script to prepare to install the
    61           package in the <filename class="directory">${LFS}/cross-tools</filename>
     61          package in the <filename class="directory">${CLFS}/cross-tools</filename>
    6262          directory.</para>
    6363        </listitem>
     
    6565
    6666      <varlistentry os="bd2">
    67         <term><parameter>--host=${LFS_HOST}</parameter></term>
     67        <term><parameter>--host=${CLFS_HOST}</parameter></term>
    6868        <listitem>
    6969          <para>When used with --target, this creates a cross-architecture
    70           executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para>
     70          executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para>
    7171        </listitem>
    7272      </varlistentry>
    7373
    7474      <varlistentry os="bd3">
    75         <term><parameter>--target=${LFS_TARGET}</parameter></term>
     75        <term><parameter>--target=${CLFS_TARGET}</parameter></term>
    7676        <listitem>
    7777          <para>When used with --host, this creates a cross-architecture
    78           executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para>
     78          executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para>
    7979        </listitem>
    8080      </varlistentry>
    8181
    8282      <varlistentry os="bd4">
    83         <term><parameter>--with-sysroot=${LFS}</parameter></term>
     83        <term><parameter>--with-sysroot=${CLFS}</parameter></term>
    8484        <listitem>
    85           <para>This tells configure that ${LFS} is going to be the root
    86           of our system. It will now use the specified sysroot, ${LFS} as
     85          <para>This tells configure that ${CLFS} is going to be the root
     86          of our system. It will now use the specified sysroot, ${CLFS} as
    8787          a prefix of the default search paths.</para>
    8888        </listitem>
     
    137137
    138138    <para os="bj">Copy the <filename class="headerfile">libiberty.h</filename> file to
    139     <filename class="directory">${LFS}/usr/include</filename> directory:</para>
     139    <filename class="directory">${CLFS}/usr/include</filename> directory:</para>
    140140
    141 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${LFS}/usr/include</userinput></screen>
     141<screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${CLFS}/usr/include</userinput></screen>
    142142
    143143  </sect2>
  • BOOK/cross-tools/common/file.xml

    r89c10a9 r586feb7  
    1919    <para>Prepare File for compilation:</para>
    2020
    21 <screen><userinput>./configure --prefix=${LFS}/cross-tools</userinput></screen>
     21<screen><userinput>./configure --prefix=${CLFS}/cross-tools</userinput></screen>
    2222
    2323    <para>Compile the Package:</para>
  • BOOK/cross-tools/common/gcc-final.xml

    r89c10a9 r586feb7  
    5959    xpointer="xpointer(//*[@os='e'])"/>
    6060
    61 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${LFS}/cross-tools \
    62     --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \
    63     --with-sysroot=${LFS} --disable-nls --enable-shared \
     61<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
     62    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
     63    --with-sysroot=${CLFS} --disable-nls --enable-shared \
    6464    --enable-languages=c,c++ --enable-__cxa_atexit \
    6565    --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>
  • BOOK/cross-tools/common/gcc-static.xml

    r89c10a9 r586feb7  
    5151    xpointer="xpointer(//*[@os='e'])"/>
    5252
    53 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${LFS}/cross-tools \
    54     --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \
    55     --with-sysroot=${LFS} --disable-nls --disable-shared \
     53<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
     54    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
     55    --with-sysroot=${CLFS} --disable-nls --disable-shared \
    5656    --enable-languages=c</userinput></screen>
    5757
  • BOOK/cross-tools/common/glibc.xml

    r89c10a9 r586feb7  
    7474    <filename>configparms</filename> to adjust instalation paths:</para>
    7575
    76 <screen os="g"><userinput>echo "install_root=${LFS}" &gt; configparms</userinput></screen>
     76<screen os="g"><userinput>echo "install_root=${CLFS}" &gt; configparms</userinput></screen>
    7777
    7878    <para os="h">Prepare Glibc for compilation:</para>
    7979
    80 <screen os="i"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
    81     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
     80<screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
     81    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    8282    ../glibc-&glibc-version;/configure --prefix=/usr --libexecdir=/usr/lib/glibc \
    83     --host=${LFS_TARGET} --build=${LFS_HOST} \
     83    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    8484    --disable-profile --enable-add-ons \
    8585    --with-tls --enable-kernel=2.6.0 --with-__thread \
    86     --with-binutils=${LFS}/cross-tools/bin --with-headers=${LFS}/usr/include \
     86    --with-binutils=${CLFS}/cross-tools/bin --with-headers=${CLFS}/usr/include \
    8787    --cache-file=config.cache</userinput></screen>
    8888
     
    9999
    100100      <varlistentry os="j2">
    101         <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term>
     101        <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term>
    102102        <listitem>
    103103          <para>This forces Glibc to use the GCC compiler that we made for our target
     
    107107
    108108      <varlistentry os="j3">
    109         <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term>
     109        <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term>
    110110        <listitem>
    111111          <para>This forces Glibc to use the <command>ar</command> utility
     
    115115
    116116      <varlistentry os="j4">
    117         <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term>
     117        <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term>
    118118        <listitem>
    119119          <para>This forces Glibc to use the <command>ranlib</command> utility
     
    154154
    155155      <varlistentry os="j9">
    156         <term><parameter>--with-binutils=${LFS}/cross-tools/bin</parameter></term>
     156        <term><parameter>--with-binutils=${CLFS}/cross-tools/bin</parameter></term>
    157157        <listitem>
    158158          <para>This tells Glibc to use the Binutils that are specific to
     
    214214    successfully:</para>
    215215
    216 <screen role="nodump"><userinput>mkdir -pv ${LFS}/usr/lib/locale
     216<screen role="nodump"><userinput>mkdir -pv ${CLFS}/usr/lib/locale
    217217localedef -i de_DE -f ISO-8859-1 de_DE
    218218localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
     
    263263    the following:</para>
    264264
    265 <screen><userinput>cat &gt; ${LFS}/etc/nsswitch.conf &lt;&lt; "EOF"
     265<screen><userinput>cat &gt; ${CLFS}/etc/nsswitch.conf &lt;&lt; "EOF"
    266266<literal># Begin /etc/nsswitch.conf
    267267
     
    283283    <para>To determine the local time zone, run the following script:</para>
    284284
    285 <screen role="nodump"><userinput>${LFS}/usr/bin/tzselect</userinput></screen>
     285<screen role="nodump"><userinput>${CLFS}/usr/bin/tzselect</userinput></screen>
    286286
    287287    <para>After answering a few questions about the location, the script will
     
    290290    <filename>/etc/localtime</filename> file by running:</para>
    291291
    292 <screen><userinput>cp -v --remove-destination ${LFS}/usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
    293     ${LFS}/etc/localtime</userinput></screen>
     292<screen><userinput>cp -v --remove-destination ${CLFS}/usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
     293    ${CLFS}/etc/localtime</userinput></screen>
    294294
    295295    <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
     
    337337    following:</para>
    338338
    339 <screen><userinput>cat &gt; ${LFS}/etc/ld.so.conf &lt;&lt; "EOF"
     339<screen><userinput>cat &gt; ${CLFS}/etc/ld.so.conf &lt;&lt; "EOF"
    340340<literal># Begin /etc/ld.so.conf
    341341
Note: See TracChangeset for help on using the changeset viewer.