Changeset b9fd50a
- Timestamp:
- May 22, 2014, 10:17:39 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- 352b82b
- Parents:
- 87d6725
- Location:
- BOOK/temp-system
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/64/gmp.xml
r87d6725 rb9fd50a 37 37 xpointer="xpointer(//*[@os='a'])"/> 38 38 39 <screen os="b"><userinput>CC_FOR_BUILD=gcc CC="${CC} ${BUILD64}" \ 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../common/gmp.xml" 41 xpointer="xpointer(//*[@os='b'])"/> 42 43 <screen os="c"><userinput>CC_FOR_BUILD=gcc CC="${CC} ${BUILD64}" \ 40 44 CXX="${CXX} ${BUILD64}" ./configure --prefix=/tools \ 41 45 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ … … 44 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 45 49 href="../multilib/gmp.xml" 46 xpointer="xpointer(//*[@os='ba'])"/> 47 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 49 href="../common/gmp.xml" 50 xpointer="xpointer(//*[@os='c'])"/> 50 xpointer="xpointer(//*[@os='ca'])"/> 51 51 52 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 62 62 xpointer="xpointer(//*[@os='f'])"/> 63 63 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 65 href="../common/gmp.xml" 66 xpointer="xpointer(//*[@os='g'])"/> 67 64 68 </sect2> 65 69 -
BOOK/temp-system/common/gmp.xml
r87d6725 rb9fd50a 33 33 --> 34 34 35 <para os="a">Prepare GMP for compilation:</para> 35 <para os="a">As with the Cross-Tools, we will compile GMP, MPFR, MPC, ISL, 36 and CLooG so that GCC can use them. though this time we will 37 cross-compile them into <filename class="directory">/tools</filename>.</para> 36 38 37 <screen os="b"><userinput>CC_FOR_BUILD=gcc ./configure --prefix=/tools \ 39 <para os="b">Prepare GMP for compilation:</para> 40 41 <screen os="c"><userinput>CC_FOR_BUILD=gcc ./configure --prefix=/tools \ 38 42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 39 43 --enable-cxx</userinput></screen> 40 44 41 <para os="c">Compile the package:</para> 45 <variablelist os="ca"> 46 <title>The meaning of the new configure option:</title> 42 47 43 <screen os="d"><userinput>make</userinput></screen> 48 <varlistentry os="ca1"> 49 <term><parameter>CC_FOR_BUILD=gcc</parameter></term> 50 <listitem> 51 <para>Tells <command>configure</command> to use the host's 52 <command>gcc</command> instead of our cross-compiler to build 53 native tools it needs while compiling.</para> 54 </listitem> 55 </varlistentry> 44 56 45 < para os="e">Install the package:</para>57 </variablelist> 46 58 47 <screen os="f"><userinput>make install</userinput></screen> 59 <para os="d">Compile the package:</para> 60 61 <screen os="e"><userinput>make</userinput></screen> 62 63 <para os="f">Install the package:</para> 64 65 <screen os="g"><userinput>make install</userinput></screen> 48 66 49 67 </sect2> -
BOOK/temp-system/multilib/gmp.xml
r87d6725 rb9fd50a 37 37 xpointer="xpointer(//*[@os='a'])"/> 38 38 39 <screen os="b"><userinput>CC_FOR_BUILD=gcc CC="${CC} \ 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../common/gmp.xml" 41 xpointer="xpointer(//*[@os='b'])"/> 42 43 <screen os="c"><userinput>CC_FOR_BUILD=gcc CC="${CC} \ 40 44 ${BUILD64}" CXX="${CXX} ${BUILD64}" ./configure --prefix=/tools \ 41 45 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 42 46 --libdir=/tools/lib64 --enable-cxx</userinput></screen> 43 47 44 <variablelist os=" ba">48 <variablelist os="ca"> 45 49 <title>The meaning of the new configure option:</title> 46 50 47 <varlistentry> 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 52 href="../common/gmp.xml" 53 xpointer="xpointer(//*[@os='ca1'])"/> 54 55 <varlistentry os="ca2"> 48 56 <term><parameter>CC="${CC} ${BUILD64}"</parameter></term> 49 57 <listitem> … … 53 61 54 62 </variablelist> 55 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"57 href="../common/gmp.xml"58 xpointer="xpointer(//*[@os='c'])"/>59 63 60 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 70 74 xpointer="xpointer(//*[@os='f'])"/> 71 75 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 77 href="../common/gmp.xml" 78 xpointer="xpointer(//*[@os='g'])"/> 79 72 80 </sect2> 73 81
Note:
See TracChangeset
for help on using the changeset viewer.