source: BOOK/boot/ppc64/e2fsprogs-libs.xml@ b0de620

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b0de620 was 947369c, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Fix linking issues with e2fsprogs in the boot section.

  • Property mode set to 100644
File size: 2.8 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-libs" role="wrap">
9 <?dbhtml filename="e2fsprogs-libs.html"?>
10
11 <title>E2fsprogs-&e2fsprogs-version; 32bit Libraries</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 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../common/e2fsprogs.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../common/e2fsprogs.xml"
31 xpointer="xpointer(//*[@os='b'])"/>
32
33 <para>When cross-compiling configure cannot determine sizes and assumes
34 short=2, int=4, long=4, long long=8. This is not correct for PowerPC64.
35 Adjust the values with:</para>
36
37<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
38echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
39echo "ac_cv_sizeof_int=4" &gt;&gt; config.cache
40echo "ac_cv_sizeof_short=2" &gt;&gt; config.cache</userinput></screen>-->
41
42<screen><userinput>echo "ac_cv_sizeof_long=8" &gt; config.cache</userinput></screen>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../common/e2fsprogs.xml"
46 xpointer="xpointer(//*[@os='c'])"/>
47
48<screen os="aa"><userinput>LDFLAGS="-Wl,-rpath-link,/tools/lib" \
49 CC="${CC} ${BUILD32}" PKG_CONFIG=true \
50 ../configure --prefix=/tools --enable-elf-shlibs \
51 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
52 --disable-libblkid --disable-libuuid --disable-fsck \
53 --disable-uuidd --cache-file=config.cache</userinput></screen>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../common/e2fsprogs.xml"
57 xpointer="xpointer(//*[@os='e'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../64/e2fsprogs.xml"
61 xpointer="xpointer(//*[@os='f'])"/>
62
63<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
64 LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs</userinput></screen>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../common/e2fsprogs.xml"
68 xpointer="xpointer(//*[@os='k'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../common/e2fsprogs.xml"
72 xpointer="xpointer(//*[@os='l'])"/>
73
74
75 </sect2>
76
77 <sect2 role="content">
78 <title/>
79
80 <para>Details on this package are located in <xref
81 linkend="contents-e2fsprogs" role="."/></para>
82
83 </sect2>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.