Changeset 4c68291


Ignore:
Timestamp:
Jun 20, 2014, 10:06:44 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
e1424ca
Parents:
37dd4bd
Message:

Updated gmp doc install instructions

Location:
BOOK
Files:
6 edited

Legend:

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

    r37dd4bd r4c68291  
    5151CXX="g++ -isystem /usr/include" \
    5252LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
    53   ./configure --prefix=/usr --enable-cxx</userinput></screen>
     53  ./configure --prefix=/usr --enable-cxx \
     54  --docdir=/usr/share/doc/gmp-&gmp-version;</userinput></screen>
    5455
    5556    <para os="c">Compile the package:</para>
     
    5758<screen os="d"><userinput>make</userinput></screen>
    5859
    59     <important os="e">
     60    <para os="e">Build the HTML documentation:</para>
     61
     62<screen os="f"><userinput>make html</userinput></screen>
     63
     64    <important os="g">
    6065      <para>The test suite for GMP is considered
    6166      critical. Do not skip it under any circumstance.</para>
    6267    </important>
    6368
    64     <para os="f">Test the results:</para>
     69    <para os="h">Test the results:</para>
    6570
    66 <screen os="g"><userinput remap="test">make check</userinput></screen>
     71<screen os="i"><userinput remap="test">make check</userinput></screen>
    6772
    68     <para os="h">Install the package:</para>
     73    <para os="j">Install the package:</para>
    6974
    70 <screen os="i"><userinput>make install</userinput></screen>
     75<screen os="k"><userinput>make install</userinput></screen>
    7176
    72     <para os="j">Install the documentation:</para>
     77    <para os="l">Install the documentation:</para>
    7378
    74 <screen os="k"><userinput>mkdir -v /usr/share/doc/gmp-&gmp-version;
    75 cp -v doc/{isa_abi_headache,configuration} doc/*.html \
    76     /usr/share/doc/gmp-&gmp-version;</userinput></screen>
     79<screen os="m"><userinput>make install-html</userinput></screen>
    7780
    7881  </sect2>
  • BOOK/final-system/mips64/gmp-64bit.xml

    r37dd4bd r4c68291  
    7474
    7575    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    76     href="../multilib/gmp-64bit.xml"
     76    href="../common/gmp.xml"
    7777    xpointer="xpointer(//*[@os='j'])"/>
    7878
    7979    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    80     href="../multilib/gmp-64bit.xml"
     80    href="../common/gmp.xml"
    8181    xpointer="xpointer(//*[@os='k'])"/>
    8282
    8383    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     84    href="../common/gmp.xml"
     85    xpointer="xpointer(//*[@os='l'])"/>
     86
     87    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     88    href="../common/gmp.xml"
     89    xpointer="xpointer(//*[@os='m'])"/>
     90
     91    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    8492    href="../multilib/gmp-64bit.xml"
    85     xpointer="xpointer(//*[@os='l'])"/>
     93    xpointer="xpointer(//*[@os='n'])"/>
     94
     95    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     96    href="../multilib/gmp-64bit.xml"
     97    xpointer="xpointer(//*[@os='o'])"/>
     98
     99    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     100    href="../multilib/gmp-64bit.xml"
     101    xpointer="xpointer(//*[@os='p'])"/>
    86102
    87103<screen os="m"><userinput>cat &gt; /usr/include/gmp.h &lt;&lt; "EOF"
  • BOOK/final-system/multilib/gmp-64bit.xml

    r37dd4bd r4c68291  
    4444LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64 ${BUILD64}" \
    4545  ./configure --prefix=/usr \
    46     --libdir=/usr/lib64 --enable-cxx</userinput></screen>
     46    --libdir=/usr/lib64 --enable-cxx \
     47    --docdir=/usr/share/doc/gmp-&gmp-version;</userinput></screen>
    4748
    4849    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8283    xpointer="xpointer(//*[@os='k'])"/>
    8384
    84     <para os="j">Create the 64bit header file:</para>
     85    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     86    href="../common/gmp.xml"
     87    xpointer="xpointer(//*[@os='l'])"/>
    8588
    86 <screen os="k"><userinput>mv -v /usr/include/gmp{,-64}.h</userinput></screen>
     89    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     90    href="../common/gmp.xml"
     91    xpointer="xpointer(//*[@os='m'])"/>
    8792
    88     <para os="l">Finally, create a stub header in the place of the originals:</para>
     93    <para os="n">Create the 64bit header file:</para>
    8994
    90 <screen os="m"><userinput>cat &gt; /usr/include/gmp.h &lt;&lt; "EOF"
     95<screen os="o"><userinput>mv -v /usr/include/gmp{,-64}.h</userinput></screen>
     96
     97    <para os="p">Finally, create a stub header in the place of the originals:</para>
     98
     99<screen os="q"><userinput>cat &gt; /usr/include/gmp.h &lt;&lt; "EOF"
    91100/* gmp.h - Stub Header  */
    92101#ifndef __STUB__GMP_H__
  • BOOK/final-system/multilib/gmp-n32.xml

    r37dd4bd r4c68291  
    5858    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5959    href="../common/gmp.xml"
    60     xpointer="xpointer(//*[@os='e'])"/>
    61 
    62     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    63     href="../common/gmp.xml"
    64     xpointer="xpointer(//*[@os='f'])"/>
    65 
    66     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    67     href="../common/gmp.xml"
    6860    xpointer="xpointer(//*[@os='g'])"/>
    6961
     
    7668    xpointer="xpointer(//*[@os='i'])"/>
    7769
    78     <para os="j">Create the N32 header file:</para>
     70    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     71    href="../common/gmp.xml"
     72    xpointer="xpointer(//*[@os='j'])"/>
    7973
    80 <screen os="k"><userinput>mv -v /usr/include/gmp{,-n32}.h</userinput></screen>
     74    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     75    href="../common/gmp.xml"
     76    xpointer="xpointer(//*[@os='k'])"/>
     77
     78    <para os="l">Create the N32 header file:</para>
     79
     80<screen os="m"><userinput>mv -v /usr/include/gmp{,-n32}.h</userinput></screen>
    8181
    8282  </sect2>
  • BOOK/final-system/multilib/gmp.xml

    r37dd4bd r4c68291  
    5656    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5757    href="../common/gmp.xml"
    58     xpointer="xpointer(//*[@os='e'])"/>
    59 
    60     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    61     href="../common/gmp.xml"
    62     xpointer="xpointer(//*[@os='f'])"/>
    63 
    64     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    65     href="../common/gmp.xml"
    6658    xpointer="xpointer(//*[@os='g'])"/>
    6759
     
    7466    xpointer="xpointer(//*[@os='i'])"/>
    7567
    76     <para os="j">The header installed by GMP is architecture specific. Programs compiled as 32bit will require the header provided by the 32bit installation of GMP. The same applies for 64bit programs. Move the header so a wrapper can be put in its place later:</para>
     68    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     69    href="../common/gmp.xml"
     70    xpointer="xpointer(//*[@os='j'])"/>
    7771
    78 <screen os="k"><userinput>mv -v /usr/include/gmp{,-32}.h</userinput></screen>
     72    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     73    href="../common/gmp.xml"
     74    xpointer="xpointer(//*[@os='k'])"/>
     75
     76    <para os="l">The header installed by GMP is architecture specific. Programs compiled as 32bit will require the header provided by the 32bit installation of GMP. The same applies for 64bit programs. Move the header so a wrapper can be put in its place later:</para>
     77
     78<screen os="m"><userinput>mv -v /usr/include/gmp{,-32}.h</userinput></screen>
    7979
    8080  </sect2>
  • BOOK/introduction/common/changelog.xml

    r37dd4bd r4c68291  
    4848          <para>[William Harrington] - Add Linux sublevel patch.</para>
    4949        </listitem>
     50        <listitem>
     51          <para>[Chris] - Changed GMP documentation installation instructions
     52          to use the Makefile to install docs instead of doing so manually.</para>
     53        </listitem>
    5054      </itemizedlist>
    5155    </listitem>
Note: See TracChangeset for help on using the changeset viewer.