Changeset bc2e3fa for BOOK/cross-tools


Ignore:
Timestamp:
Dec 7, 2006, 11:23:24 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
1e184e11
Parents:
8473983
Message:

Reverting of Sysroot Changes

Location:
BOOK/cross-tools
Files:
7 deleted
50 edited

Legend:

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

    r8473983 rbc2e3fa  
    5555    xpointer="xpointer(//*[@os='i'])"/>
    5656
    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>
    6160
    6261    <variablelist os="bd">
  • BOOK/cross-tools/64/glibc.xml

    r8473983 rbc2e3fa  
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7070    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"
    7971    xpointer="xpointer(//*[@os='g'])"/>
    8072
     
    8577    --disable-profile --enable-add-ons \
    8678    --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 \
    8980    --cache-file=config.cache</userinput></screen>
    9081
  • BOOK/cross-tools/alpha/gcc-static.xml

    r8473983 rbc2e3fa  
    7676    xpointer="xpointer(//*[@os='h'])"/>
    7777
    78 <screen><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools --with-sysroot=${CLFS} \
     78<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7979    --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    8080    --with-local-prefix=/tools --disable-nls --disable-shared \
  • BOOK/cross-tools/alpha/glibc-headers.xml

    r8473983 rbc2e3fa  
    4949
    5050    <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"
    5951    href="../../final-system/common/glibc.xml"
    6052    xpointer="xpointer(//*[@os='g'])"/>
     
    6355   --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    6456   --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>
    6759
    6860    <note os="e1">
     
    122114       
    123115       <varlistentry os="ca7">
    124            <term><parameter>--with-headers=${CLFS}/tools/include</parameter></term>
     116           <term><parameter>--with-headers=/tools/include</parameter></term>
    125117           <listitem>
    126118              <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>
    128120              directory, so that it knows exactly what features the kernel has
    129121              and can optimize itself accordingly.</para>
     
    132124       
    133125       <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>
    135127           <listitem>
    136128              <para>This tells Glibc to use the Binutils for our specific target architecture.</para>
     
    148140
    149141   <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>
    151143
    152 <screen os="cg"><userinput>install -dv ${CLFS}/tools/include/bits
    153 cp -v bits/stdio_lim.h ${CLFS}/tools/include/bits</userinput></screen>
     144<screen os="cg"><userinput>install -dv /tools/include/bits
     145cp -v bits/stdio_lim.h /tools/include/bits</userinput></screen>
    154146
    155147   <para os="ch">Now we will create a blank stub file:</para>
    156148
    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>
    158150
    159151   <para os="cj">Another header is needed for NPTL:</para>
    160152   
    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>
    163154
    164155  </sect2>
  • BOOK/cross-tools/alpha/glibc.xml

    r8473983 rbc2e3fa  
    7676
    7777    <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"
    8678    href="../../final-system/common/glibc.xml"
    8779    xpointer="xpointer(//*[@os='g'])"/>
  • BOOK/cross-tools/alpha/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 cp -av include/asm-alpha ${CLFS}/tools/include/asm
    31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>
     29<screen><userinput>install -dv /tools/include
     30cp -av include/asm-alpha /tools/include/asm
     31cp -av include/{asm-generic,linux} /tools/include/</userinput></screen>
    3232
    3333  </sect2>
  • BOOK/cross-tools/common/binutils.xml

    r8473983 rbc2e3fa  
    5353    xpointer="xpointer(//*[@os='i'])"/>
    5454
    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>
    5958
    6059    <variablelist os="bd">
     
    6261
    6362      <varlistentry os="bd1">
    64         <term><parameter>--prefix=${CLFS}/cross-tools</parameter></term>
     63        <term><parameter>--prefix=/cross-tools</parameter></term>
    6564        <listitem>
    6665          <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>
    6867          directory.</para>
    6968        </listitem>
     
    7170
    7271      <varlistentry os="bd2">
    73         <term><parameter>--with-sysroot=${CLFS}</parameter></term>
    74         <listitem>
    75           <para>This tells configure that
    76           <filename class="directory">${CLFS}</filename> is going to be
    77           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">
    8372        <term><parameter>--host=${CLFS_HOST}</parameter></term>
    8473        <listitem>
     
    8877      </varlistentry>
    8978
    90       <varlistentry os="bd4">
     79      <varlistentry os="bd3">
    9180        <term><parameter>--target=${CLFS_TARGET}</parameter></term>
    9281        <listitem>
    9382          <para>When used with --host, this creates a cross-architecture
    9483          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>
    9595        </listitem>
    9696      </varlistentry>
     
    144144
    145145    <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>
    147147
    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>
    149149
    150150  </sect2>
  • BOOK/cross-tools/common/glibc.xml

    r8473983 rbc2e3fa  
    6161echo "libc_cv_c_cleanup=yes" &gt;&gt; config.cache</userinput></screen>
    6262
    63     <para os="n1">The following line needs to be added to
    64     <filename>configparms</filename> to adjust installation paths.</para>
    65 
    66 <screen os="n2"><userinput>echo "install_root=${CLFS}" &gt; configparms</userinput></screen>
    67 
    6863    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6964    href="../../final-system/common/glibc.xml"
     
    7671    --disable-profile --enable-add-ons \
    7772    --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 \
    8074    --cache-file=config.cache</userinput></screen>
    8175
     
    147141
    148142      <varlistentry os="dg9">
    149         <term><parameter>--with-binutils=${CLFS}/cross-tools/bin</parameter></term>
     143        <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    150144        <listitem>
    151145          <para>This tells Glibc to use the Binutils that are specific to
  • BOOK/cross-tools/mips-chapter.xml

    r8473983 rbc2e3fa  
    1717  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/>
    1818  <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"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-static.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/glibc.xml"/>
  • BOOK/cross-tools/mips/glibc.xml

    r8473983 rbc2e3fa  
    8484
    8585    <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"
    9486    href="../../final-system/common/glibc.xml"
    9587    xpointer="xpointer(//*[@os='g'])"/>
  • BOOK/cross-tools/mips/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 cp -av include/asm-mips ${CLFS}/tools/include/asm
    31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>
     29<screen><userinput>install -dv /tools/include
     30cp -av include/asm-mips /tools/include/asm
     31cp -av include/{asm-generic,linux} /tools/include/</userinput></screen>
    3232
    3333  </sect2>
  • BOOK/cross-tools/mips64-64-chapter.xml

    r8473983 rbc2e3fa  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/>
    1919  <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"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/gcc-static.xml"/>
    2221  <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  
    8383    xpointer="xpointer(//*[@os='h'])"/>
    8484
    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 \
    8686    --target=${CLFS_TARGET} --host=${CLFS_HOST} --with-abi=64 \
    8787    --with-local-prefix=/tools --disable-nls --enable-shared \
  • BOOK/cross-tools/mips64-64/gcc-static.xml

    r8473983 rbc2e3fa  
    7676    xpointer="xpointer(//*[@os='h'])"/>
    7777
    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 \
    7979    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-mutlilib \
    8080    --with-local-prefix=/tools --disable-nls --disable-shared \
  • BOOK/cross-tools/mips64-64/glibc.xml

    r8473983 rbc2e3fa  
    8585    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8686    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"
    9587    xpointer="xpointer(//*[@os='g'])"/>
    9688
  • BOOK/cross-tools/mips64-chapter.xml

    r8473983 rbc2e3fa  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/>
    1919  <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"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/gcc-static.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/glibc.xml"/>
  • BOOK/cross-tools/mips64/glibc-64bit.xml

    r8473983 rbc2e3fa  
    8484
    8585    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    86     href="glibc.xml"
     86    href="../multilib/glibc-64bit.xml"
    8787    xpointer="xpointer(//*[@os='n1'])"/>
    8888
    8989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    90     href="glibc.xml"
     90    href="../multilib/glibc-64bit.xml"
    9191    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'])"/>
    10092
    10193    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/mips64/glibc-n32.xml

    r8473983 rbc2e3fa  
    8383    xpointer="xpointer(//*[@os='de'])"/>
    8484
    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
    9486    class="directory">/tools/lib32</filename>:</para>
    9587
    96 <screen os="n4"><userinput>echo "slibdir=/tools/lib32" &gt;&gt; configparms</userinput></screen>
     88<screen os="n2"><userinput>echo "slibdir=/tools/lib32" &gt;&gt; configparms</userinput></screen>
    9789
    9890    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    10698    --disable-profile --enable-add-ons \
    10799    --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 \
    109101    --cache-file=config.cache</userinput></screen>
    110102
  • BOOK/cross-tools/mips64/glibc.xml

    r8473983 rbc2e3fa  
    8585    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8686    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"
    9587    xpointer="xpointer(//*[@os='g'])"/>
    9688
  • BOOK/cross-tools/multilib/binutils.xml

    r8473983 rbc2e3fa  
    6363    xpointer="xpointer(//*[@os='i'])"/>
    6464
    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>
    6968
    7069    <variablelist os="bd">
  • BOOK/cross-tools/multilib/glibc-64bit.xml

    r8473983 rbc2e3fa  
    6767    xpointer="xpointer(//*[@os='de'])"/>
    6868
    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
    7870    class="directory">/tools/lib64</filename>:</para>
    7971
    80 <screen os="n4"><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
     72<screen os="n2"><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
    8173
    8274    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9082    --disable-profile --enable-add-ons \
    9183    --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 \
    9385    --cache-file=config.cache</userinput></screen>
    9486
  • BOOK/cross-tools/multilib/glibc.xml

    r8473983 rbc2e3fa  
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7070    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"
    7971    xpointer="xpointer(//*[@os='g'])"/>
    8072
     
    8577    --disable-profile --enable-add-ons \
    8678    --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 \
    8980    --cache-file=config.cache</userinput></screen>
    9081
  • BOOK/cross-tools/ppc-chapter.xml

    r8473983 rbc2e3fa  
    1717  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/linux-headers.xml"/>
    1818  <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"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/gcc-static.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/glibc.xml"/>
  • BOOK/cross-tools/ppc/glibc.xml

    r8473983 rbc2e3fa  
    6868
    6969    <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"
    7870    href="../../final-system/common/glibc.xml"
    7971    xpointer="xpointer(//*[@os='g'])"/>
  • BOOK/cross-tools/ppc/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 cp -av include/asm-powerpc ${CLFS}/tools/include/asm
    31 cp -av include/{asm-generic,asm-ppc,linux} ${CLFS}/tools/include/</userinput></screen>
     29<screen><userinput>install -dv /tools/include
     30cp -av include/asm-powerpc /tools/include/asm
     31cp -av include/{asm-generic,asm-ppc,linux} /tools/include/</userinput></screen>
    3232
    3333  </sect2>
  • BOOK/cross-tools/ppc64/glibc-64bit.xml

    r8473983 rbc2e3fa  
    7474
    7575    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    76     href="glibc.xml"
     76    href="../multilib/glibc-64bit.xml"
    7777    xpointer="xpointer(//*[@os='n1'])"/>
    7878
    7979    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    80     href="glibc.xml"
     80    href="../multilib/glibc-64bit.xml"
    8181    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'])"/>
    9082
    9183    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9991    --disable-profile --enable-add-ons \
    10092    --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 \
    10294    --cache-file=config.cache</userinput></screen>
    10395
  • BOOK/cross-tools/ppc64/glibc.xml

    r8473983 rbc2e3fa  
    8686    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8787    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"
    9688    xpointer="xpointer(//*[@os='g'])"/>
    9789
     
    10294    --disable-profile --enable-add-ons \
    10395    --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 \
    10697    --cache-file=config.cache</userinput></screen>
    10798
  • BOOK/cross-tools/ppc64/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 cp -av include/asm-powerpc ${CLFS}/tools/include/asm
    31 cp -av include/{asm-generic,asm-ppc,linux} ${CLFS}/tools/include/</userinput></screen>
     29<screen><userinput>install -dv /tools/include
     30cp -av include/asm-powerpc /tools/include/asm
     31cp -av include/{asm-generic,asm-ppc,linux} /tools/include/</userinput></screen>
    3232
    3333  </sect2>
  • BOOK/cross-tools/sparc-chapter.xml

    r8473983 rbc2e3fa  
    1717  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-headers.xml"/>
    1818  <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"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/gcc-static.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/glibc.xml"/>
  • BOOK/cross-tools/sparc/glibc.xml

    r8473983 rbc2e3fa  
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7070    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"
    7971    xpointer="xpointer(//*[@os='g'])"/>
    8072
  • BOOK/cross-tools/sparc/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 cp -av include/asm-sparc ${CLFS}/tools/include/asm
    31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>
     29<screen><userinput>install -dv /tools/include
     30cp -av include/asm-sparc /tools/include/asm
     31cp -av include/{asm-generic,linux} /tools/include/</userinput></screen>
    3232
    3333  </sect2>
  • BOOK/cross-tools/sparc64-64-chapter.xml

    r8473983 rbc2e3fa  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/linux-headers.xml"/>
    1919  <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"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/gcc-static.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/glibc.xml"/>
  • BOOK/cross-tools/sparc64-64/glibc.xml

    r8473983 rbc2e3fa  
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7070    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"
    7971    xpointer="xpointer(//*[@os='g'])"/>
    8072
     
    119111    this with the following:</para>
    120112
    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>
    122114
    123115  </sect2>
  • BOOK/cross-tools/sparc64-64/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 cp -av include/asm-sparc64 ${CLFS}/tools/include/asm
    31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>
     29<screen><userinput>install -dv /tools/include
     30cp -av include/asm-sparc64 /tools/include/asm
     31cp -av include/{asm-generic,linux} /tools/include/</userinput></screen>
    3232
    3333  </sect2>
  • BOOK/cross-tools/sparc64-chapter.xml

    r8473983 rbc2e3fa  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/linux-headers.xml"/>
    1919  <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"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/gcc-static.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc.xml"/>
  • BOOK/cross-tools/sparc64/glibc-64bit.xml

    r8473983 rbc2e3fa  
    6868
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    70     href="../common/glibc.xml"
     70    href="../multilib/glibc-64bit.xml"
    7171    xpointer="xpointer(//*[@os='n1'])"/>
    7272
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    74     href="../common/glibc.xml"
     74    href="../multilib/glibc-64bit.xml"
    7575    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'])"/>
    8476
    8577    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/sparc64/glibc.xml

    r8473983 rbc2e3fa  
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7070    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"
    7971    xpointer="xpointer(//*[@os='g'])"/>
    8072
     
    8577    --disable-profile --enable-add-ons \
    8678    --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 \
    8980    --cache-file=config.cache</userinput></screen>
    9081
  • BOOK/cross-tools/sparc64/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 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
     30cp -av include/{asm-generic,asm-sparc,asm-sparc64,linux} /tools/include/
     31cp -av include/asm-sparc64-biarch /tools/include/asm</userinput></screen>
    3232
    3333  </sect2>
  • BOOK/cross-tools/x86-chapter.xml

    r8473983 rbc2e3fa  
    1717  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-headers.xml"/>
    1818  <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"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-static.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/glibc.xml"/>
  • BOOK/cross-tools/x86/gcc-final.xml

    r8473983 rbc2e3fa  
    8989    xpointer="xpointer(//*[@os='h'])"/>
    9090
    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 \
    9292    --target=${CLFS_TARGET} --host=${CLFS_HOST} --disable-multilib \
    9393    --with-local-prefix=/tools --disable-nls --enable-shared \
  • BOOK/cross-tools/x86/gcc-static.xml

    r8473983 rbc2e3fa  
    5252
    5353<screen os="aj"><userinput>cp -v gcc/Makefile.in{,.orig}
    54 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 ${CLFS}/tools/include@g" \
     54sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \
    5555    gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen>
    5656
     
    6767    xpointer="xpointer(//*[@os='h'])"/>
    6868
    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 \
    7070    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
    7171    --with-local-prefix=/tools --disable-nls --disable-shared \
  • BOOK/cross-tools/x86/linux-headers.xml

    r8473983 rbc2e3fa  
    2525<para os="a">Install the header files that are needed for the base build:</para>
    2626
    27 <screen><userinput>install -dv ${CLFS}/tools/include
    28 cp -av include/asm-i386 ${CLFS}/tools/include/asm
    29 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>
     27<screen><userinput>install -dv /tools/include
     28cp -av include/asm-i386 /tools/include/asm
     29cp -av include/{asm-generic,linux} /tools/include/</userinput></screen>
    3030
    3131  </sect2>
  • BOOK/cross-tools/x86/variables.xml

    r8473983 rbc2e3fa  
    2020  command:</para>
    2121
    22 <screen os="b"><userinput>export CLFS_HOST="$(sed 's/-*-[^-]*-/-cross-/' &lt;&lt;&lt; $MACHTYPE)"</userinput></screen>
     22<screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen>
    2323
    2424  <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  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/linux-headers.xml"/>
    1919  <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"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/gcc-static.xml"/>
    2221  <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  
    7474    xpointer="xpointer(//*[@os='h'])"/>
    7575
    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 \
    7777    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
    7878    --with-local-prefix=/tools --disable-nls --disable-shared \
  • BOOK/cross-tools/x86_64-64/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 cp -av include/asm-x86_64 ${CLFS}/tools/include/asm
    31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>
     29<screen><userinput>install -dv /tools/include
     30cp -av include/asm-x86_64 /tools/include/asm
     31cp -av include/{asm-generic,linux} /tools/include/</userinput></screen>
    3232
    3333  </sect2>
  • BOOK/cross-tools/x86_64-chapter.xml

    r8473983 rbc2e3fa  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/linux-headers.xml"/>
    1919  <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"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/gcc-static.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/glibc.xml"/>
  • BOOK/cross-tools/x86_64/gcc-final.xml

    r8473983 rbc2e3fa  
    9090    xpointer="xpointer(//*[@os='h'])"/>
    9191
    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 \
    9393    --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    9494    --with-local-prefix=/tools --disable-nls --enable-shared \
  • BOOK/cross-tools/x86_64/gcc-static.xml

    r8473983 rbc2e3fa  
    7676    xpointer="xpointer(//*[@os='h'])"/>
    7777
    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 \
    7979    --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    8080    --with-local-prefix=/tools --disable-nls --disable-shared \
  • BOOK/cross-tools/x86_64/linux-headers.xml

    r8473983 rbc2e3fa  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen><userinput>install -dv ${CLFS}/tools/include
    30 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
     30cp -av include/{asm-generic,asm-i386,asm-x86_64,linux} /tools/include/
     31cp -av include/asm-x86_64-biarch /tools/include/asm</userinput></screen>
    3232
    3333  </sect2>
Note: See TracChangeset for help on using the changeset viewer.