[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-temp-system-coreutils" role="wrap">
|
---|
| 9 | <?dbhtml filename="coreutils.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Coreutils-&coreutils-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-temp-system-coreutils">
|
---|
| 14 | <primary sortas="a-Coreutils">Coreutils</primary>
|
---|
| 15 | <secondary>temporary system</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[ed21eaf] | 19 | href="../../final-system/common/coreutils.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Coreutils</title>
|
---|
| 24 |
|
---|
[dabbced] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[b575f20] | 26 | href="../common/coreutils.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 28 |
|
---|
[dabbced] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[b575f20] | 30 | href="../common/coreutils.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
| 32 |
|
---|
[dabbced] | 33 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[c619d5e9] | 34 | href="../common/coreutils.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='ba'])"/>
|
---|
| 36 |
|
---|
[dabbced] | 37 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[c619d5e9] | 38 | href="../common/coreutils.xml"
|
---|
| 39 | xpointer="xpointer(//*[@os='bb'])"/>
|
---|
| 40 |
|
---|
[dabbced] | 41 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 42 | href="../common/coreutils.xml"
|
---|
| 43 | xpointer="xpointer(//*[@os='bd'])"/>
|
---|
| 44 |
|
---|
[6a580207] | 45 | <screen os="be"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
|
---|
[c619d5e9] | 46 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[3d84239] | 47 | --enable-install-program=hostname --cache-file=config.cache</userinput></screen>
|
---|
[3f8be484] | 48 |
|
---|
[da3e727] | 49 | <!--- Hack for coreutils to build for target executables which can't be ran with the host. -->
|
---|
| 50 |
|
---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 52 | href="../common/coreutils.xml"
|
---|
| 53 | xpointer="xpointer(//*[@os='h1'])"/>
|
---|
| 54 |
|
---|
| 55 | <screen os="h2"><userinput>sed '/src_make_prime_list/d' -i Makefile
|
---|
[7ae2706] | 56 | depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
|
---|
[764eb27] | 57 | gcc -m64 -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src \
|
---|
[7ae2706] | 58 | -fdiagnostics-show-option -funit-at-a-time -g -O2 -MT \
|
---|
| 59 | src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o \
|
---|
| 60 | src/make-prime-list.c &&
|
---|
| 61 | mv -f $depbase.Tpo $depbase.Po
|
---|
[764eb27] | 62 | gcc -m64 -std=gnu99 -fdiagnostics-show-option -funit-at-a-time -g -O2 \
|
---|
[7ae2706] | 63 | -Wl,--as-needed -o src/make-prime-list src/make-prime-list.o
|
---|
| 64 | </userinput></screen>
|
---|
[da3e727] | 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 67 | href="../common/coreutils.xml"
|
---|
| 68 | xpointer="xpointer(//*[@os='h3'])"/>
|
---|
| 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 71 | href="../common/coreutils.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='h4'])"/>
|
---|
| 73 |
|
---|
| 74 | <!-- end hack -->
|
---|
| 75 |
|
---|
[dabbced] | 76 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 77 | href="../common/coreutils.xml"
|
---|
| 78 | xpointer="xpointer(//*[@os='bf'])"/>
|
---|
| 79 |
|
---|
[dabbced] | 80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 81 | href="../common/coreutils.xml"
|
---|
| 82 | xpointer="xpointer(//*[@os='bg'])"/>
|
---|
| 83 |
|
---|
[dabbced] | 84 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 85 | href="../common/coreutils.xml"
|
---|
| 86 | xpointer="xpointer(//*[@os='bh'])"/>
|
---|
| 87 |
|
---|
[dabbced] | 88 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 89 | href="../common/coreutils.xml"
|
---|
| 90 | xpointer="xpointer(//*[@os='bi'])"/>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="content">
|
---|
| 95 | <title/>
|
---|
| 96 |
|
---|
| 97 | <para>Details on this package are located in <xref
|
---|
| 98 | linkend="contents-coreutils" role="."/></para>
|
---|
| 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | </sect1>
|
---|