source: final-system/multilib/bzip2.xml@ 8d5271c

Last change on this file since 8d5271c was 44f856c, checked in by Ken Moffat <zarniwhoop@…>, 18 years ago

Add make check for 32-bit bzip2, fixes ticket #79.

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[bf8c11f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-bzip2-32" role="wrap">
9 <?dbhtml filename="bzip2.html"?>
10
11 <title>Bzip2-&bzip2-version; 32 Bit Libraries</title>
12
13 <indexterm zone="ch-system-bzip2-32">
14 <primary sortas="a-Bzip2">Bzip2</primary>
15 <secondary>32 Bit</secondary>
16 </indexterm>
17
[a67c762]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../common/bzip2.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[bf8c11f]21
22 <sect2 role="installation">
23 <title>Installation of Bzip2</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../common/bzip2.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
[e6423a01]29<screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}"
[bf8c11f]30make clean</userinput></screen>
31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="../common/bzip2.xml"
34 xpointer="xpointer(//*[@os='c'])"/>
35
[1abb09e]36<para os="d">Recompile the package using a non-shared library:</para>
[e6423a01]37
[8444553]38<screen os="e"><userinput>make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" libbz2.a</userinput></screen>
[bf8c11f]39
[44f856c]40 <para os="e1">To test the results, issue:
41 <userinput>make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" check</userinput>
42 .</para>
43
[70acbca]44 <para os="i">Install the libraries and make
45 a necessary symbolic link:</para>
[bf8c11f]46
[dd9906e]47<screen os="j"><userinput>cp -v libbz2.a /usr/lib
48cp -av libbz2.so* /lib
49ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so</userinput></screen>
[e6423a01]50
[bf8c11f]51 </sect2>
52
53 <sect2 role="content">
54 <title/>
55
56 <para>Details on this package are located in <xref
57 linkend="contents-bzip2" role="."/></para>
58
59 </sect2>
60
61</sect1>
Note: See TracBrowser for help on using the repository browser.