source: BOOK/boot/ppc64/e2fsprogs.xml@ bb748ad

clfs-3.0.0-systemd systemd
Last change on this file since bb748ad was 6c19f5e, checked in by Chris Staub <chris@…>, 11 years ago

Replaced PKG_CONFIG vars with pkg-config-lite installed in /cross-tools

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