Changeset 4c68291 for BOOK/final-system/multilib
- Timestamp:
- Jun 20, 2014, 10:06:44 PM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- e1424ca
- Parents:
- 37dd4bd
- Location:
- BOOK/final-system/multilib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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>
Note:
See TracChangeset
for help on using the changeset viewer.