- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/gmp.xml
rb6831b6 r686839b 35 35 36 36 <note os="n1"> 37 <para>If you are compiling this package on a different CPU th en you plan to38 run the CLFS system on. You must replace GMP's <filename>config.guess</filename>39 and <filename>config.sub</filename> wrappers with the originals. This will40 prevent GMP from optimizing for the wrong CPU. You can make this change with41 the following command:</para>37 <para>If you are compiling this package on a different CPU than you plan 38 to run the CLFS system on, you must replace GMP's 39 <filename>config.guess</filename> and <filename>config.sub</filename> 40 wrappers with the originals. This will prevent GMP from optimizing for 41 the wrong CPU. You can make this change with the following command:</para> 42 42 43 <screen> <userinput>mv -v config{fsf,}.guess44 mv -v config{fsf,}.sub</ userinput></screen>43 <screen>mv -v config{fsf,}.guess 44 mv -v config{fsf,}.sub</screen> 45 45 46 46 </note> … … 48 48 <para os="a">Prepare GMP for compilation:</para> 49 49 50 <screen os="b"><userinput>C PPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \50 <screen os="b"><userinput>CC="gcc -isystem /usr/include" \ 51 51 CXX="g++ -isystem /usr/include" \ 52 52 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 53 ./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>53 ./configure --prefix=/usr --enable-cxx</userinput></screen> 54 54 55 55 <para os="c">Compile the package:</para> … … 64 64 <para os="f">Test the results:</para> 65 65 66 <screen os="g"><userinput >make check</userinput></screen>66 <screen os="g"><userinput remap="test">make check</userinput></screen> 67 67 68 68 <para os="h">Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.