source: boot/ppc64/e2fsprogs.xml@ b15c1e0

Last change on this file since b15c1e0 was 0f7d461, checked in by Ken Moffat <zarniwhoop@…>, 18 years ago

Fix e2fsprogs cross-compilation for ppc64.

  • Property mode set to 100644
File size: 3.7 KB
Line 
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-boot-e2fsprogs" role="wrap">
9 <?dbhtml filename="e2fsprogs.html"?>
10
11 <title>E2fsprogs-&e2fsprogs-version;</title>
12
13 <indexterm zone="ch-boot-e2fsprogs">
14 <primary sortas="a-E2fsprogs">E2fsprogs</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/e2fsprogs.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of E2fsprogs</title>
24
25 <para os="a1">This package cannot be cross-compiled for ppc64 on some
26 common architectures. The following patch fixes this:</para>
27
28<screen os="a2"><userinput>patch -Np1 -i ../&e2fsprogs-cross-patch;</userinput></screen>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../multilib/e2fsprogs.xml"
32 xpointer="xpointer(//*[@os='m1'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../multilib/e2fsprogs.xml"
36 xpointer="xpointer(//*[@os='m2'])"/>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../common/e2fsprogs.xml"
40 xpointer="xpointer(//*[@os='a'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../common/e2fsprogs.xml"
44 xpointer="xpointer(//*[@os='b'])"/>
45
46 <para>When cross-compiling configure cannot determine sizes and assumes
47 short=2, int=4, long=4, long long=8. This is not correct for PowerPC64.
48 Adjust the values with:</para>
49
50<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
51echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
52echo "ac_cv_sizeof_int=4" &gt;&gt; config.cache
53echo "ac_cv_sizeof_short=2" &gt;&gt; config.cache</userinput></screen>-->
54
55<screen><userinput>echo "ac_cv_sizeof_long=8" &gt; config.cache</userinput></screen>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../common/e2fsprogs.xml"
59 xpointer="xpointer(//*[@os='c'])"/>
60
61<screen os="aa"><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \
62--enable-elf-shlibs --disable-evms \
63--build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/e2fsprogs.xml"
67 xpointer="xpointer(//*[@os='e'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../64/e2fsprogs.xml"
71 xpointer="xpointer(//*[@os='ac'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../common/e2fsprogs.xml"
75 xpointer="xpointer(//*[@os='h'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../common/e2fsprogs.xml"
79 xpointer="xpointer(//*[@os='i'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../common/e2fsprogs.xml"
83 xpointer="xpointer(//*[@os='j'])"/>
84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="../common/e2fsprogs.xml"
87 xpointer="xpointer(//*[@os='k'])"/>
88
89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
90 href="../common/e2fsprogs.xml"
91 xpointer="xpointer(//*[@os='l'])"/>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="../common/e2fsprogs.xml"
95 xpointer="xpointer(//*[@os='ad'])"/>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../common/e2fsprogs.xml"
99 xpointer="xpointer(//*[@os='ae'])"/>
100
101 </sect2>
102
103 <sect2 role="content">
104 <title/>
105
106 <para>Details on this package are located in <xref
107 linkend="contents-e2fsprogs" role="."/></para>
108
109 </sect2>
110
111</sect1>
Note: See TracBrowser for help on using the repository browser.