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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0c7419e8 was c584beb, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Fix an issue compiling E2fsprogs 32bit libraries in the boot section of ppc64.

  • 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>CC="${CC} ${BUILD32}" PKG_CONFIG=true \
49 ../configure --prefix=/tools --enable-elf-shlibs \
50 --with-linker=${LD} --build=${CLFS_HOST} --host=${CLFS_TARGET} \
51 --disable-libblkid --disable-libuuid --disable-fsck \
52 --disable-uuidd --cache-file=config.cache</userinput></screen>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../common/e2fsprogs.xml"
56 xpointer="xpointer(//*[@os='e'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../64/e2fsprogs.xml"
60 xpointer="xpointer(//*[@os='f'])"/>
61
62<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
63 LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs</userinput></screen>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/e2fsprogs.xml"
67 xpointer="xpointer(//*[@os='k'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../common/e2fsprogs.xml"
71 xpointer="xpointer(//*[@os='l'])"/>
72
73
74 </sect2>
75
76 <sect2 role="content">
77 <title/>
78
79 <para>Details on this package are located in <xref
80 linkend="contents-e2fsprogs" role="."/></para>
81
82 </sect2>
83
84</sect1>
Note: See TracBrowser for help on using the repository browser.