source: BOOK/temp-system/common/coreutils.xml @ b54737e

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since b54737e was b54737e, checked in by Jim Gifford <clfs@…>, 18 years ago

r642@server (orig r640): jim | 2005-11-06 10:28:35 -0800

r654@server: jim | 2005-11-06 10:23:30 -0800
Updated to Coreutils 5.93


  • 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  <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6  %general-entities;
7  %patches-entities;
8]>
9
10<sect1 id="ch-temp-system-coreutils" role="wrap">
11  <?dbhtml filename="coreutils.html"?>
12
13  <title>Coreutils-&coreutils-version;</title>
14
15  <indexterm zone="ch-temp-system-coreutils">
16    <primary sortas="a-Coreutils">Coreutils</primary>
17    <secondary>temporary system</secondary>
18  </indexterm>
19
20  <sect2 role="package">
21    <title/>
22
23    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24    href="../../final-system/common/coreutils.xml"
25    xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27    <segmentedlist>
28      <segtitle>&buildtime;</segtitle>
29      <segtitle>&diskspace;</segtitle>
30
31      <seglistitem>
32        <seg>Not checked yet</seg>
33        <seg>Not checked yet</seg>
34      </seglistitem>
35    </segmentedlist>
36
37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38    href="../../final-system/common/coreutils.xml"
39    xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41  </sect2>
42
43  <sect2 role="installation">
44    <title>Installation of Coreutils</title>
45
46    <para os="ba">Coreutils has an issue where  UTILS_OPEN_MAX does not get
47    defined when cross-compiling. So we define it:</para>
48
49<screen os="bc"><userinput>echo "utils_cv_sys_open_max=1024" &gt;&gt; config.cache</userinput></screen>
50
51    <para os="bd">Prepare Coreutils for compilation:</para>
52
53<screen><userinput>./configure --prefix=/tools --cache-file=config.cache \
54   --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
55
56    <variablelist os="be">
57      <title>The meaning of the configure options:</title>
58
59      <varlistentry>
60        <term><parameter>DEFAULT_POSIX2_VERSION=199209</parameter></term>
61        <listitem>
62          <para>This package has an issue when compiled against versions of
63          Glibc later than 2.3.2. Some of the Coreutils utilities (such as
64          <command>head</command>, <command>tail</command>, and
65          <command>sort</command>) will reject their traditional syntax, a
66          syntax that has been in use for approximately 30 years. This old
67          syntax is so pervasive that compatibility should be preserved until
68          the many places where it is used can be updated. Backwards compatibility
69          is achieved by setting the <envar>DEFAULT_POSIX2_VERSION</envar>
70          environment variable to <quote>199209</quote> in the above command.
71          If you do not want Coreutils to be backwards compatible with the
72          traditional syntax, then omit setting the
73          <envar>DEFAULT_POSIX2_VERSION</envar> environment variable. It is
74          important to remember that doing so will have consequences, including
75          the need to patch the many packages that still use the old syntax.
76          Therefore, it is recommended that the instructions be followed exactly
77          as given above.</para>
78        </listitem>
79      </varlistentry>
80
81      <varlistentry>
82        <term><parameter>--cache-file=config.cache</parameter></term>
83        <listitem>
84          <para>This do ...</para>
85        </listitem>
86      </varlistentry>
87
88    </variablelist>
89
90    <para os="bf">Compile the package:</para>
91
92<screen os="bg"><userinput>make</userinput></screen>
93
94    <para os="bh">Install the package:</para>
95
96<screen os="bi"><userinput>make install</userinput></screen>
97
98  </sect2>
99
100  <sect2 role="content">
101    <title/>
102
103    <para>Details on this package are located in <xref
104    linkend="contents-coreutils" role="."/></para>
105
106  </sect2>
107
108</sect1>
Note: See TracBrowser for help on using the repository browser.