Changeset 36a0aca


Ignore:
Timestamp:
Aug 27, 2012, 5:53:04 PM (12 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
d61657d
Parents:
00d5d8eb
Message:

Update ppl cross-tools and tools to properly find and use the correct gmp.

Location:
BOOK
Files:
4 edited

Legend:

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

    r00d5d8eb r36a0aca  
    2929    ./configure --prefix=/cross-tools --enable-shared \
    3030    --enable-interfaces="c,cxx" --disable-optimization \
    31     --with-gmp=/cross-tools</userinput></screen>
     31    --with-gmp-include=/cross-tools/include \
     32    --with-gmp-lib=/cross-tools/lib</userinput></screen>
    3233
    3334    <para os="c">Compile the package:</para>
  • BOOK/temp-system/64/ppl.xml

    r00d5d8eb r36a0aca  
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    3030    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    31     --enable-interfaces="c,cxx" --enable-shared \
    32     --disable-optimization --with-gmp=/tools</userinput></screen>
    33 
    34     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    35     href="../common/ppl.xml"
    36     xpointer="xpointer(//*[@os='bp1'])"/>
    37 
    38     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    39     href="../common/ppl.xml"
    40     xpointer="xpointer(//*[@os='bp2'])"/>
     31    --enable-interfaces="c,cxx" --enable-shared --disable-optimization  \
     32    --with-gmp-include=/tools/include --with-gmp-lib=/tools/lib</userinput></screen>
    4133
    4234    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/temp-system/common/ppl.xml

    r00d5d8eb r36a0aca  
    2828    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    2929    --enable-interfaces="c,cxx" --enable-shared --disable-optimization \
    30     --with-gmp=/tools</userinput></screen>
    31 
    32     <para os="bp1">When PPL is cross-compiled, it does not check whether
    33     GMP was compiled with support for exceptions, and simply assumes it was not.
    34     This assumption is incorrect, so we will fix that:</para>
    35 
    36 <screen os="bp2"><userinput>echo '#define PPL_GMP_SUPPORTS_EXCEPTIONS 1' >> confdefs.h</userinput></screen>
     30    --with-gmp-include=/tools/include --with-gmp-lib=/tools/lib</userinput></screen>
    3731
    3832    <para os="c">Compile the package:</para>
  • BOOK/temp-system/multilib/ppl.xml

    r00d5d8eb r36a0aca  
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    3030    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    31     --enable-interfaces="c,cxx" --libdir=/tools/lib64 --enable-shared \
    32     --disable-optimization --with-gmp=/tools</userinput></screen>
    33 
    34     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    35     href="../common/ppl.xml"
    36     xpointer="xpointer(//*[@os='bp1'])"/>
    37 
    38     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    39     href="../common/ppl.xml"
    40     xpointer="xpointer(//*[@os='bp2'])"/>
     31    --enable-interfaces="c,cxx" --libdir=/tools/lib64 \
     32    --enable-shared --disable-optimization  \
     33    --with-gmp-include=/tools/include --with-gmp-lib=/tools/lib</userinput></screen>
    4134
    4235    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.