Changeset 2ad9b71 in clfs-sysroot


Ignore:
Timestamp:
Jun 9, 2006, 8:58:00 PM (13 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
8f2279f
Parents:
7a47cec
Message:

r3907@server (orig r1758): jciccone | 2006-06-09 17:17:08 -0700
Removed the need for /cross-tools, using /cross-tools now.

Location:
BOOK
Files:
1 deleted
8 edited

Legend:

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

    r7a47cec r2ad9b71  
    4848    xpointer="xpointer(//*[@os='c'])"/>
    4949
    50 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \
     50<screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=${LFS}/cross-tools \
    5151   --host=${LFS_HOST} --target=${LFS_TARGET} --with-sysroot=${LFS} \
    5252   --disable-nls --enable-shared --disable-multilib</userinput></screen>
     
    5656
    5757      <varlistentry os="bd1">
    58         <term><parameter>--prefix=/cross-tools</parameter></term>
     58        <term><parameter>--prefix=${LFS}/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">/cross-tools</filename>
     61          package in the <filename class="directory">${LFS}/cross-tools</filename>
    6262          directory.</para>
    6363        </listitem>
  • BOOK/cross-tools/common/file.xml

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

    r7a47cec r2ad9b71  
    5959    xpointer="xpointer(//*[@os='e'])"/>
    6060
    61 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
     61<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${LFS}/cross-tools \
    6262    --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \
    6363    --with-sysroot=${LFS} --disable-nls --enable-shared \
  • BOOK/cross-tools/common/gcc-static.xml

    r7a47cec r2ad9b71  
    5151    xpointer="xpointer(//*[@os='e'])"/>
    5252
    53 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
     53<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${LFS}/cross-tools \
    5454    --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \
    5555    --with-sysroot=${LFS} --disable-nls --disable-shared \
  • BOOK/cross-tools/common/glibc.xml

    r7a47cec r2ad9b71  
    7474    --disable-profile --enable-add-ons \
    7575    --with-tls --enable-kernel=2.6.0 --with-__thread \
    76     --with-binutils=/cross-tools/bin --with-headers=${LFS}/usr/include \
     76    --with-binutils=${LFS}/cross-tools/bin --with-headers=${LFS}/usr/include \
    7777    --cache-file=config.cache</userinput></screen>
    7878
     
    144144
    145145      <varlistentry os="j9">
    146         <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
     146        <term><parameter>--with-binutils=${LFS}/cross-tools/bin</parameter></term>
    147147        <listitem>
    148148          <para>This tells Glibc to use the Binutils that are specific to
  • BOOK/final-preps/chapter.xml

    r7a47cec r2ad9b71  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aboutlfs.xml"/>
    15   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingcrossdir.xml"/>
    1615  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="addinguser.xml"/>
    1716  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="settingenviron.xml"/>
  • BOOK/final-preps/settingenviron.xml

    r7a47cec r2ad9b71  
    4444LFS=/mnt/lfs
    4545LC_ALL=POSIX
    46 PATH=/cross-tools/bin:/bin:/usr/bin
     46PATH=${LFS}/cross-tools/bin:/bin:/usr/bin
    4747export LFS LC_ALL PATH</literal>
    4848EOF</userinput></screen>
     
    5656  the shell will always search the <envar>PATH</envar> when a program is to
    5757  be run. As such, the shell will find the newly compiled tools in
    58   <filename class="directory">$LFS/cross-tools</filename> as soon as they are
     58  <filename class="directory">$LFS${LFS}/cross-tools</filename> as soon as they are
    5959  available without remembering a previous version of the same program in a
    6060  different location.</para>
     
    8080  the chroot environment.</para>
    8181
    82   <para os="j">By putting <filename class="directory">/cross-tools/bin</filename>
     82  <para os="j">By putting <filename class="directory">${LFS}/cross-tools/bin</filename>
    8383  at the beginning of the <envar>PATH</envar>, the cross-compiler
    8484  built in <xref linkend="chapter-cross-tools"/> will be picked up by
  • BOOK/introduction/common/how.xml

    r7a47cec r2ad9b71  
    5252
    5353  <para>The process of building cross-compile tools first involves installing
    54   binutils into /cross-tools, so that the linker can be used with the building
     54  binutils into ${LFS}/cross-tools, so that the linker can be used with the building
    5555  of everything else in the temp-system. GCC is then compiled statically and
    56   installed into /cross-tools, and this cross-compiler is used to build glibc
     56  installed into ${LFS}/cross-tools, and this cross-compiler is used to build glibc
    5757  into /tools for the temp-system. The GCC cross-compiler is then rebuilt
    5858  dynamically - this final cross-compiler is what will be used to build the
     
    6464
    6565  <para>The packages in <!-- <xref linkend="chapter-temp-system"/> --> are then built
    66   using the cross-compiled tools in /cross-tools, and linked against the
     66  using the cross-compiled tools in ${LFS}/cross-tools, and linked against the
    6767  C library that was installed during the building of the cross-tools.</para>
    6868
Note: See TracChangeset for help on using the changeset viewer.