Changeset b9fd50a for BOOK/temp-system/common
- Timestamp:
- May 22, 2014, 10:17:39 PM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- 352b82b
- Parents:
- 87d6725
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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>
Note:
See TracChangeset
for help on using the changeset viewer.