source: final-system/multilib/bzip2-n32.xml@ 1d0c3c6

Last change on this file since 1d0c3c6 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: 2.1 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-n32" role="wrap">
9 <?dbhtml filename="bzip2-n32.html"?>
10
11 <title>Bzip2-&bzip2-version; N32 Libraries</title>
12
13 <indexterm zone="ch-system-bzip2-n32">
14 <primary sortas="a-Bzip2">Bzip2</primary>
15 <secondary>N32</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
[4231dac]25 <para os="m1">We need to change the default lib path
[bf8c11f]26 to <filename class="directory">lib32</filename>:</para>
27
[4231dac]28<screen os="m2"><userinput>sed -i 's@/lib\(/\| \|$\)@/lib32\1@g' Makefile</userinput></screen>
[bf8c11f]29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="bzip2.xml"
32 xpointer="xpointer(//*[@os='a'])"/>
33
[e6423a01]34<screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"
[bf8c11f]35make clean</userinput></screen>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="bzip2.xml"
39 xpointer="xpointer(//*[@os='c'])"/>
40
[1abb09e]41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="bzip2.xml"
43 xpointer="xpointer(//*[@os='d'])"/>
[bf8c11f]44
[1abb09e]45<screen os="e"><userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" libbz2.a</userinput></screen>
[bf8c11f]46
[44f856c]47 <para os="e1">To test the results, issue:
48 <userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" check</userinput>
49 .</para>
50
[e6423a01]51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="bzip2.xml"
53 xpointer="xpointer(//*[@os='i'])"/>
54
[dd9906e]55<screen os="j"><userinput>cp -v libbz2.a /usr/lib32
56cp -av libbz2.so* /lib32
57ln -sv ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so</userinput></screen>
[bf8c11f]58
59 </sect2>
60
61 <sect2 role="content">
62 <title/>
63
64 <para>Details on this package are located in <xref
65 linkend="contents-bzip2" role="."/></para>
66
67 </sect2>
68
69</sect1>
Note: See TracBrowser for help on using the repository browser.