- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/mpfr.xml
r8213adb rdabbced 23 23 <title>Installation of MPFR</title> 24 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"26 href="../../final-system/common/mpfr.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"30 href="../../final-system/common/mpfr.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 33 25 <para os="a">Prepare MPFR for compilation:</para> 34 26 35 27 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 36 28 ./configure --prefix=/cross-tools \ 37 --disable-static --with-gmp=/cross-tools</userinput></screen> 38 39 <variablelist os="b1"> 40 <title>The meaning of the new configure options:</title> 41 42 <varlistentry> 43 <term><parameter>LDFLAGS="-Wl,-rpath,/cross-tools/lib"</parameter></term> 44 <listitem> 45 <para>This tells <command>configure</command> to search in 46 <filename class="directory">/cross-tools</filename> for libraries.</para> 47 </listitem> 48 </varlistentry> 49 50 <varlistentry> 51 <term><parameter>--enable-shared</parameter></term> 52 <listitem> 53 <para>This tells <command>configure</command> to build MPFR's 54 shared libraries.</para> 55 </listitem> 56 </varlistentry> 57 58 <varlistentry> 59 <term><parameter>--with-gmp=/cross-tools</parameter></term> 60 <listitem> 61 <para>This tells <command>configure</command> where to find GMP.</para> 62 </listitem> 63 </varlistentry> 64 65 </variablelist> 29 --enable-shared --with-gmp=/cross-tools</userinput></screen> 66 30 67 31 <para os="c">Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.