Changeset 73ace20 for BOOK/temp-system/common
- Timestamp:
- Oct 10, 2012, 6:42:21 PM (14 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f7b2c72
- Parents:
- 0cce40d (diff), 80cbd64 (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. - Location:
- BOOK/temp-system/common
- Files:
-
- 5 edited
- 1 moved
-
binutils.xml (modified) (1 diff)
-
choose.xml (modified) (1 diff)
-
cloog.xml (moved) (moved from BOOK/temp-system/common/cloog-ppl.xml ) (3 diffs)
-
flex.xml (modified) (1 diff)
-
gcc.xml (modified) (1 diff)
-
ppl.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/binutils.xml
r0cce40d r73ace20 22 22 <sect2 role="installation"> 23 23 <title>Installation of Binutils</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../../final-system/common/binutils.xml" 27 xpointer="xpointer(//*[@os='p1'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/common/binutils.xml" 31 xpointer="xpointer(//*[@os='p2'])"/> 24 32 25 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/temp-system/common/choose.xml
r0cce40d r73ace20 34 34 method.</para> 35 35 36 <para>To chroot, you will also need a Linux Kernel-2.6.x (having been 37 compiled with GCC-3.0 or greater). The reason for the kernel version 38 requirement is that, without it, thread-local storage support in Binutils 39 will not be built and the Native POSIX Threading Library (NPTL) test suite 40 will segfault.</para> 36 <para>To chroot, you will also need a Linux Kernel-2.6.32 or greater 37 (having been compiled with GCC-4.1.2 or greater). The reason for the 38 kernel version requirement is that eglibc is built to generate the library 39 for the smallest version of the Linux kernel expected to be supported.</para> 41 40 42 41 <para>To check your kernel version, run <command>cat /proc/version</command> 43 - if it does not say that you are running a 2.6. 2 or later Linux kernel,44 compiled with GCC 3.0or later, you cannot chroot.</para>42 - if it does not say that you are running a 2.6.32 or later Linux kernel, 43 compiled with GCC 4.1.2 or later, you cannot chroot.</para> 45 44 46 45 <para os="e">For the boot method, follow <xref linkend="chapter-boot"/>.</para> -
BOOK/temp-system/common/cloog.xml
r0cce40d r73ace20 6 6 ]> 7 7 8 <sect1 id="ch-temp-system-cloog -ppl" role="wrap">9 <?dbhtml filename="cloog -ppl.html"?>8 <sect1 id="ch-temp-system-cloog" role="wrap"> 9 <?dbhtml filename="cloog.html"?> 10 10 11 <title>CLooG -PPL &cloog-ppl-version;</title>11 <title>CLooG &cloog-version;</title> 12 12 13 <indexterm zone="ch-temp-system-cloog -ppl">14 <primary sortas="a-CLooG -PPL">CLooG-PPL</primary>13 <indexterm zone="ch-temp-system-cloog"> 14 <primary sortas="a-CLooG">CLooG</primary> 15 15 <secondary>temporary system</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/common/cloog -ppl.xml"19 href="../../final-system/common/cloog.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of CLooG -PPL</title>23 <title>Installation of CLooG</title> 24 24 25 25 <para os="s1">The following prevents the configure script from setting <envar>LD_LIBRARY_PATH</envar> when it finds PPL. This will prevent any conflicts with libraries from the host system:</para> … … 29 29 configure.orig > configure</userinput></screen> 30 30 31 <para os="a">Prepare CLooG -PPLfor compilation:</para>31 <para os="a">Prepare CLooG for compilation:</para> 32 32 33 33 <screen os="b"><userinput>./configure --prefix=/tools \ 34 --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-bits=gmp\35 --with- ppl=/tools --with-gmp=/tools</userinput></screen>34 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 35 --with-gmp-prefix=/tools</userinput></screen> 36 36 37 37 <para os="c">Compile the package:</para> … … 49 49 50 50 <para>Details on this package are located in <xref 51 linkend="contents-cloog -ppl" role="."/></para>51 linkend="contents-cloog" role="."/></para> 52 52 53 53 </sect2> -
BOOK/temp-system/common/flex.xml
r0cce40d r73ace20 22 22 <sect2 role="installation"> 23 23 <title>Installation of Flex</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"26 href="../../final-system/common/flex.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"30 href="../../final-system/common/flex.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 24 33 25 <para os="t3">When cross compiling, the <command>configure</command> -
BOOK/temp-system/common/gcc.xml
r0cce40d r73ace20 74 74 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 75 75 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch \ 76 --disable-multilib </userinput></screen>76 --disable-multilib --enable-cloog-backend=isl</userinput></screen> 77 77 78 78 <variablelist os="cl"> -
BOOK/temp-system/common/ppl.xml
r0cce40d r73ace20 28 28 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 29 29 --enable-interfaces="c,cxx" --enable-shared --disable-optimization \ 30 --with-libgmp-prefix=/tools --with-libgmpxx-prefix=/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>
Note:
See TracChangeset
for help on using the changeset viewer.
