Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/gmp.xml

    rb6831b6 r686839b  
    3535
    3636    <note os="n1">
    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>
     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>
    4242
    43 <screen><userinput>mv -v config{fsf,}.guess
    44 mv -v config{fsf,}.sub</userinput></screen>
     43<screen>mv -v config{fsf,}.guess
     44mv -v config{fsf,}.sub</screen>
    4545
    4646    </note>
     
    4848    <para os="a">Prepare GMP for compilation:</para>
    4949
    50 <screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \
     50<screen os="b"><userinput>CC="gcc -isystem /usr/include" \
    5151CXX="g++ -isystem /usr/include" \
    5252LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
    53   ./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>
     53  ./configure --prefix=/usr --enable-cxx</userinput></screen>
    5454
    5555    <para os="c">Compile the package:</para>
     
    6464    <para os="f">Test the results:</para>
    6565
    66 <screen os="g"><userinput>make check</userinput></screen>
     66<screen os="g"><userinput remap="test">make check</userinput></screen>
    6767
    6868    <para os="h">Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.