Changeset 4c68291
- Timestamp:
- Jun 21, 2014, 5:06:44 AM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- e1424ca
- Parents:
- 37dd4bd
- Location:
- BOOK
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/gmp.xml
r37dd4bd r4c68291 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 \ 54 --docdir=/usr/share/doc/gmp-&gmp-version;</userinput></screen> 54 55 55 56 <para os="c">Compile the package:</para> … … 57 58 <screen os="d"><userinput>make</userinput></screen> 58 59 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"> 60 65 <para>The test suite for GMP is considered 61 66 critical. Do not skip it under any circumstance.</para> 62 67 </important> 63 68 64 <para os=" f">Test the results:</para>69 <para os="h">Test the results:</para> 65 70 66 <screen os=" g"><userinput remap="test">make check</userinput></screen>71 <screen os="i"><userinput remap="test">make check</userinput></screen> 67 72 68 <para os=" h">Install the package:</para>73 <para os="j">Install the package:</para> 69 74 70 <screen os=" i"><userinput>make install</userinput></screen>75 <screen os="k"><userinput>make install</userinput></screen> 71 76 72 <para os=" j">Install the documentation:</para>77 <para os="l">Install the documentation:</para> 73 78 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> 77 80 78 81 </sect2> -
BOOK/final-system/mips64/gmp-64bit.xml
r37dd4bd r4c68291 74 74 75 75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 76 href="../ multilib/gmp-64bit.xml"76 href="../common/gmp.xml" 77 77 xpointer="xpointer(//*[@os='j'])"/> 78 78 79 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 80 href="../ multilib/gmp-64bit.xml"80 href="../common/gmp.xml" 81 81 xpointer="xpointer(//*[@os='k'])"/> 82 82 83 83 <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" 84 92 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'])"/> 86 102 87 103 <screen os="m"><userinput>cat > /usr/include/gmp.h << "EOF" -
BOOK/final-system/multilib/gmp-64bit.xml
r37dd4bd r4c68291 44 44 LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64 ${BUILD64}" \ 45 45 ./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> 47 48 48 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 82 83 xpointer="xpointer(//*[@os='k'])"/> 83 84 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'])"/> 85 88 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'])"/> 87 92 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> 89 94 90 <screen os="m"><userinput>cat > /usr/include/gmp.h << "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 > /usr/include/gmp.h << "EOF" 91 100 /* gmp.h - Stub Header */ 92 101 #ifndef __STUB__GMP_H__ -
BOOK/final-system/multilib/gmp-n32.xml
r37dd4bd r4c68291 58 58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 59 59 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"68 60 xpointer="xpointer(//*[@os='g'])"/> 69 61 … … 76 68 xpointer="xpointer(//*[@os='i'])"/> 77 69 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'])"/> 79 73 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> 81 81 82 82 </sect2> -
BOOK/final-system/multilib/gmp.xml
r37dd4bd r4c68291 56 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 57 57 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"66 58 xpointer="xpointer(//*[@os='g'])"/> 67 59 … … 74 66 xpointer="xpointer(//*[@os='i'])"/> 75 67 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'])"/> 77 71 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> 79 79 80 80 </sect2> -
BOOK/introduction/common/changelog.xml
r37dd4bd r4c68291 48 48 <para>[William Harrington] - Add Linux sublevel patch.</para> 49 49 </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> 50 54 </itemizedlist> 51 55 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.