Changeset 9dc5852 in clfs-embedded


Ignore:
Timestamp:
Aug 16, 2008, 4:32:01 AM (16 years ago)
Author:
Maarten Lankhorst <m.b.lankhorst@…>
Branches:
master
Children:
56d186f
Parents:
7884e98
Message:

Get rid of CLFS_HOST

Location:
BOOK
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/variables.xml

    r7884e98 r9dc5852  
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2020  href="../x86/variables.xml"
    21   xpointer="xpointer(//*[@os='b'])"/>
    22 
    23   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    24   href="../x86/variables.xml"
    25   xpointer="xpointer(//*[@os='c'])"/>
    26 
    27   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    28   href="../x86/variables.xml"
    2921  xpointer="xpointer(//*[@os='d'])"/>
    3022
     
    3325  xpointer="xpointer(//*[@os='e'])"/>
    3426
    35 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    36 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     27<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    3728
    3829  <table os="g">
  • BOOK/cross-tools/common/binutils.xml

    r7884e98 r9dc5852  
    5151
    5252<screen os="e"><userinput>../binutils-&binutils-version;/configure --prefix=${CLFS}/cross-tools \
    53    --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=${CLFS} \
    54    --disable-nls --enable-shared --disable-multilib</userinput></screen>
     53   --target=${CLFS_TARGET} --with-sysroot=${CLFS} --disable-nls \
     54   --enable-shared --disable-multilib</userinput></screen>
    5555
    5656    <variablelist os="f">
     
    6666      </varlistentry>
    6767
    68       <varlistentry os="f2">
    69         <term><parameter>--host=${CLFS_HOST}</parameter></term>
    70         <listitem>
    71           <para>When used with --target, this creates a cross-architecture
    72           executable that creates files for ${CLFS_TARGET} but runs on
    73           ${CLFS_HOST}.</para>
    74         </listitem>
    75       </varlistentry>
    76 
    7768      <varlistentry os="f3">
    7869        <term><parameter>--target=${CLFS_TARGET}</parameter></term>
     
    8071          <para>When used with --host, this creates a cross-architecture
    8172          executable that creates files for ${CLFS_TARGET} but runs on
    82           ${CLFS_HOST}.</para>
     73          the host system.</para>
    8374        </listitem>
    8475      </varlistentry>
  • BOOK/cross-tools/common/gcc-final.xml

    r7884e98 r9dc5852  
    6060
    6161<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
    62     --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
     62    --target=${CLFS_TARGET} --disable-multilib \
    6363    --with-sysroot=${CLFS} --disable-nls --enable-shared \
    6464    --enable-languages=c --enable-__cxa_atexit \
  • BOOK/cross-tools/common/gcc-static.xml

    r7884e98 r9dc5852  
    5353
    5454<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
    55     --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
     55    --target=${CLFS_TARGET} --disable-multilib \
    5656    --with-sysroot=${CLFS} --disable-nls --disable-shared \
    5757    --disable-threads --enable-languages=c</userinput></screen>
  • BOOK/cross-tools/mips/variables.xml

    r7884e98 r9dc5852  
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2020  href="../x86/variables.xml"
    21   xpointer="xpointer(//*[@os='b'])"/>
    22 
    23   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    24   href="../x86/variables.xml"
    25   xpointer="xpointer(//*[@os='c'])"/>
    26 
    27   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    28   href="../x86/variables.xml"
    2921  xpointer="xpointer(//*[@os='d'])"/>
    3022
     
    4032  xpointer="xpointer(//*[@os='e'])"/>
    4133
    42 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    43 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
     34<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    4435echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    4536
  • BOOK/cross-tools/x86/variables.xml

    r7884e98 r9dc5852  
    1515  <para os="a">During the building of the cross-compile tools you will need to
    1616  set a few variables that will be dependent on your particular needs.
    17   The first variable will be the triplet of the <envar>HOST</envar> machine.
    18   You will need to set the <envar>CHOST</envar> triplet to match your
    19   particular needs. To set this information you can issue the following
    20   command:</para>
    21 
    22 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | \
    23     sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen>
    24 
    25   <para os="c">Now you will need to set the target triplet for the target
     17  You will need to set the target triplet for the target
    2618  architecture. You can do this by running the same command as above, just
    2719  running it on the target machine. If you can't run the command on the
     
    3123<screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen>
    3224
    33   <para os="e">Now we will add these to <filename>~/.bashrc</filename>, just in
     25  <para os="e">Now we will add this to <filename>~/.bashrc</filename>, just in
    3426  case you have to exit and restart building later:</para>
    3527
    36 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    37 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     28<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    3829
    3930  <table os="g">
  • BOOK/final-system/common/e2fsprogs.xml

    r7884e98 r9dc5852  
    3636    <para os="c">Prepare E2fsprogs for compilation:</para>
    3737
    38 <screen os="d"><userinput>CC="${CC} ${BUILD} -Os" ../configure --build=${CLFS_HOST} \
    39     --host=${CLFS_TARGET} --prefix=/usr --with-root-prefix="" \
    40     --with-cc="${CC} ${BUILD} -Os" --with-linker=${LD}</userinput></screen>
     38<screen os="d"><userinput>CC="${CC} ${BUILD} -Os" ../configure --host=${CLFS_TARGET} \
     39    --prefix=/usr --with-root-prefix="" --with-cc="${CC} ${BUILD} -Os" \
     40    --with-linker=${LD}</userinput></screen>
    4141
    4242    <variablelist os="e">
  • BOOK/introduction/common/askforhelp.xml

    r7884e98 r9dc5852  
    4747      </listitem>
    4848      <listitem>
    49         <para>The value of the ${CLFS_HOST}, ${CLFS_TARGET}, and ${BUILD}
     49        <para>The value of the ${CLFS_TARGET}, and ${BUILD}
    5050        environment variables.</para>
    5151      </listitem>
Note: See TracChangeset for help on using the changeset viewer.