- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/gmp.xml
r686839b rb6831b6 35 35 36 36 <note os="n1"> 37 <para>If you are compiling this package on a different CPU th an you plan38 to run the CLFS system on, you must replace GMP's39 <filename>config.guess</filename> and <filename>config.sub</filename>40 wrappers with the originals. This will prevent GMP from optimizing for41 the wrong CPU. You can make this change with thefollowing command:</para>37 <para>If you are compiling this package on a different CPU then you plan to 38 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 will 40 prevent GMP from optimizing for the wrong CPU. You can make this change with 41 the following command:</para> 42 42 43 <screen> mv -v config{fsf,}.guess44 mv -v config{fsf,}.sub</ screen>43 <screen><userinput>mv -v config{fsf,}.guess 44 mv -v config{fsf,}.sub</userinput></screen> 45 45 46 46 </note> … … 48 48 <para os="a">Prepare GMP for compilation:</para> 49 49 50 <screen os="b"><userinput>C C="gcc -isystem /usr/include" \50 <screen os="b"><userinput>CPPFLAGS=-fexceptions 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 </userinput></screen>53 ./configure --prefix=/usr --enable-cxx --enable-mpbsd</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 remap="test">make check</userinput></screen>66 <screen os="g"><userinput>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.