Ignore:
Timestamp:
Dec 18, 2013, 1:04:00 AM (11 years ago)
Author:
Chris Staub <chris@…>
Children:
f975b3a
Parents:
1c9985f (diff), 8abef998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Updated simp branch to match main book

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/sparc/silo-build.xml

    r1c9985f r026bb5d  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
     33<para os="ae">This sed allows us to compile the bin2h binary separately.</para>
     34
     35<screen os="ad"><userinput>sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile</userinput></screen>
     36
     37<para os="af">Compile the bin2h and util binaries for the host.</para>
     38
     39<screen os="aa"><userinput>make -C common programs CC=cc
     40make -C second util CC=cc</userinput></screen>
     41
     42    <variablelist>
     43      <varlistentry>
     44        <term><parameter>CC=cc</parameter></term>
     45        <listitem>
     46          <para>Overwrites the default value of <command>gcc -m32</command> which will fail
     47to compile on 64 bit targets. This is not to be confused with <command>CC=${CC}</command> below.</para>
     48        </listitem>
     49      </varlistentry>
     50    </variablelist>
     51
    3352    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3453    href="../../final-system/sparc/silo.xml"
    3554    xpointer="xpointer(//*[@os='c'])"/>
    3655
    37 <screen os="aa"><userinput>make CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
     56<screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen>
    3857
    3958    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.