source: BOOK/final-system/multilib/gmp-n32.xml@ bcb91ad

clfs-1.2
Last change on this file since bcb91ad was b6831b6, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Update the LDFLAGS in the final-system between the installation
of EGLIBC and the installation of GCC. This should fix build errors
in a few odd situations, but it is also correct now. Before /usr/lib*
was not being set in rpath-link, just /lib*.

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[6a043e2]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-gmp-n32" role="wrap">
9 <?dbhtml filename="gmp-n32.html"?>
10
11 <title>GMP-&gmp-version; N32 Libraries</title>
12
13 <indexterm zone="ch-system-gmp-n32">
14 <primary sortas="a-GMP">GMP</primary>
15 <secondary>N32</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]19 href="../common/gmp.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of GMP</title>
24
[8cfdc18]25<!--
[dabbced]26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[be71788]27 href="../common/gmp.xml"
28 xpointer="xpointer(//*[@os='p1'])"/>
29
[dabbced]30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[be71788]31 href="../common/gmp.xml"
32 xpointer="xpointer(//*[@os='p2'])"/>
33
[8cfdc18]34-->
[616b1809]35
[dabbced]36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[616b1809]37 href="../common/gmp.xml"
38 xpointer="xpointer(//*[@os='n1'])"/>
39
[dabbced]40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]41 href="../common/gmp.xml"
42 xpointer="xpointer(//*[@os='a'])"/>
43
[9470388]44<screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILDN32}" \
[b6831b6]45CXX="g++ -isystem /usr/include ${BUILDN32}" \
46LDFLAGS="-Wl,-rpath-link,/usr/lib32:/lib32 ${BUILDN32}" \
47 ABI=n32 ./configure --prefix=/usr \
[4173cd9]48 --libdir=/usr/lib32 --enable-cxx --enable-mpbsd</userinput></screen>
[6a043e2]49
[dabbced]50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]51 href="../common/gmp.xml"
52 xpointer="xpointer(//*[@os='c'])"/>
53
[dabbced]54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]55 href="../common/gmp.xml"
56 xpointer="xpointer(//*[@os='d'])"/>
57
[dabbced]58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]59 href="../common/gmp.xml"
60 xpointer="xpointer(//*[@os='e'])"/>
61
[dabbced]62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]63 href="../common/gmp.xml"
64 xpointer="xpointer(//*[@os='f'])"/>
65
[dabbced]66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]67 href="../common/gmp.xml"
68 xpointer="xpointer(//*[@os='g'])"/>
69
[dabbced]70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]71 href="../common/gmp.xml"
72 xpointer="xpointer(//*[@os='h'])"/>
73
[dabbced]74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[6a043e2]75 href="../common/gmp.xml"
76 xpointer="xpointer(//*[@os='i'])"/>
77
78 <para os="j">Create the N32 header file:</para>
79
[7b31c44]80<screen os="k"><userinput>mv -v /usr/include/gmp{,-n32}.h</userinput></screen>
[6a043e2]81
82 </sect2>
83
84 <sect2 role="content">
85 <title/>
86
87 <para>Details on this package are located in <xref
88 linkend="contents-gmp" role="."/></para>
89
90 </sect2>
91
92</sect1>
Note: See TracBrowser for help on using the repository browser.