- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/mpfr.xml
rdabbced r8213adb 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 25 33 <para os="a">Prepare MPFR for compilation:</para> 26 34 27 35 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 28 36 ./configure --prefix=/cross-tools \ 29 --enable-shared --with-gmp=/cross-tools</userinput></screen> 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> 30 66 31 67 <para os="c">Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.