- Timestamp:
- Aug 28, 2012, 12:53:04 AM (12 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- d61657d
- Parents:
- 00d5d8eb
- Location:
- BOOK
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/ppl.xml
r00d5d8eb r36a0aca 29 29 ./configure --prefix=/cross-tools --enable-shared \ 30 30 --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> 32 33 33 34 <para os="c">Compile the package:</para> -
BOOK/temp-system/64/ppl.xml
r00d5d8eb r36a0aca 29 29 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 30 30 --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> 41 33 42 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/temp-system/common/ppl.xml
r00d5d8eb r36a0aca 28 28 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 29 29 --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> 37 31 38 32 <para os="c">Compile the package:</para> -
BOOK/temp-system/multilib/ppl.xml
r00d5d8eb r36a0aca 29 29 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 30 30 --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> 41 34 42 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.