source: boot/ppc64/e2fsprogs.xml@ b878e42

Last change on this file since b878e42 was b878e42, checked in by Jim Gifford <clfs@…>, 19 years ago

r1161@server (orig r1159): jhuntwork | 2006-02-08 12:21:45 -0800
Finalized the boot section for ppc64, minus the bootloader. ;)

  • Property mode set to 100644
File size: 3.3 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>Make sure the libraries get installed to
26 <filename class="directory">/tools/lib64</filename>:</para>
27
28<screen os="m1"><userinput>chmod 0755 configure
29cp configure{,.orig}
30sed -e "/libdir=.*\/lib/s@/lib@/lib64@g" configure.orig > configure</userinput></screen>
31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="../common/e2fsprogs.xml"
34 xpointer="xpointer(//*[@os='a'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../common/e2fsprogs.xml"
38 xpointer="xpointer(//*[@os='b'])"/>
39
40 <para>When cross-compiling configure cannot determine sizes and assumes
41 short=2, int=4, long=4, long long=8. This is not correct for PowerPC64.
42 Adjust the values with:</para>
43
44<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
45echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
46echo "ac_cv_sizeof_int=4" &gt;&gt; config.cache
47echo "ac_cv_sizeof_short=2" &gt;&gt; config.cache</userinput></screen>-->
48
49<screen><userinput>echo "ac_cv_sizeof_long=8" &gt; config.cache</userinput></screen>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../common/e2fsprogs.xml"
53 xpointer="xpointer(//*[@os='c'])"/>
54
55<screen os="aa"><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \
56--enable-elf-shlibs --disable-evms \
57--host=${LFS_TARGET} --cache-file=config.cache</userinput></screen>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../common/e2fsprogs.xml"
61 xpointer="xpointer(//*[@os='e'])"/>
62
63<screen os="ac"><userinput>make CC="${CC} ${BUILD64}"</userinput></screen>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/e2fsprogs.xml"
67 xpointer="xpointer(//*[@os='i'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../common/e2fsprogs.xml"
71 xpointer="xpointer(//*[@os='j'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../common/e2fsprogs.xml"
75 xpointer="xpointer(//*[@os='k'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../common/e2fsprogs.xml"
79 xpointer="xpointer(//*[@os='l'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../common/e2fsprogs.xml"
83 xpointer="xpointer(//*[@os='ad'])"/>
84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="../common/e2fsprogs.xml"
87 xpointer="xpointer(//*[@os='ae'])"/>
88
89 </sect2>
90
91 <sect2 role="content">
92 <title/>
93
94 <para>Details on this package are located in <xref
95 linkend="contents-e2fsprogs" role="."/></para>
96
97 </sect2>
98
99</sect1>
Note: See TracBrowser for help on using the repository browser.