Changeset fef8487 in clfs-sysroot for BOOK/cross-tools
- Timestamp:
- Jul 11, 2009, 6:35:07 PM (15 years ago)
- Branches:
- master
- Children:
- 25e7898
- Parents:
- 11462e6
- Location:
- BOOK/cross-tools
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/alpha/eglibc.xml
r11462e6 rfef8487 7 7 8 8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <title>EG libc-&eglibc-version;</title>9 <title>EGLIBC-&eglibc-version;</title> 10 10 11 11 <?dbhtml filename="eglibc.html"?> 12 12 13 13 <indexterm zone="ch-cross-tools-eglibc"> 14 <primary sortas="a-EG libc">EGlibc</primary>14 <primary sortas="a-EGLIBC">EGLIBC</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of EG libc</title>22 <title>Installation of EGLIBC</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/arm/eglibc.xml
r11462e6 rfef8487 7 7 8 8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <title>EG libc-&eglibc-version;</title>9 <title>EGLIBC-&eglibc-version;</title> 10 10 11 11 <?dbhtml filename="eglibc.html"?> 12 12 13 13 <indexterm zone="ch-cross-tools-eglibc"> 14 <primary sortas="a-EG libc">EGlibc</primary>14 <primary sortas="a-EGLIBC">EGLIBC</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of EG libc</title>22 <title>Installation of EGLIBC</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/common/binutils.xml
r11462e6 rfef8487 24 24 25 25 <para os="da">It is important that Binutils be the first package compiled 26 because both EG libcand GCC perform various tests on the available26 because both EGLIBC and GCC perform various tests on the available 27 27 linker and assembler to determine which of their own features to 28 28 enable.</para> -
BOOK/cross-tools/common/eglibc.xml
r11462e6 rfef8487 9 9 <?dbhtml filename="eglibc.html"?> 10 10 11 <title>EG libc-&eglibc-version;</title>11 <title>EGLIBC-&eglibc-version;</title> 12 12 13 13 <indexterm zone="ch-cross-tools-eglibc"> 14 <primary sortas="a-EG libc">EGlibc</primary>14 <primary sortas="a-EGLIBC">EGLIBC</primary> 15 15 <secondary>cross tools</secondary> 16 16 </indexterm> … … 19 19 <title/> 20 20 21 <para>The EG libcpackage contains the main C library. This library provides21 <para>The EGLIBC package contains the main C library. This library provides 22 22 the basic routines for allocating memory, searching directories, opening and 23 23 closing files, reading and writing files, string handling, pattern matching, … … 27 27 28 28 <sect2 role="installation"> 29 <title>Installation of EG libc</title>29 <title>Installation of EGLIBC</title> 30 30 31 31 <note os="a"> … … 35 35 <quote>This library provides an <function>iconv()</function> 36 36 implementation, for use on systems which don't have one, or whose 37 implementation cannot convert from/to Unicode.</quote> EG libcprovides37 implementation cannot convert from/to Unicode.</quote> EGLIBC provides 38 38 an <function>iconv()</function> implementation and can convert from/to 39 39 Unicode, therefore libiconv is not required on an CLFS system.</para> 40 40 </note> 41 41 42 <para os="p1">EG libchas various issues addressed by the following patch:</para>42 <para os="p1">EGLIBC has various issues addressed by the following patch:</para> 43 43 44 44 <screen os="p2"><userinput>patch -Np1 -i ../&eglibc-fixes-patch;</userinput></screen> … … 49 49 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen> 50 50 51 <para os="b">The EG libc documentation recommends building EGlibcoutside of the51 <para os="b">The EGLIBC documentation recommends building EGLIBC outside of the 52 52 source directory in a dedicated build directory:</para> 53 53 … … 56 56 57 57 <para os="d">The following lines need to be added to 58 <filename>config.cache</filename> for EG libcto support NPTL:</para>58 <filename>config.cache</filename> for EGLIBC to support NPTL:</para> 59 59 60 60 <screen os="e"><userinput>cat > config.cache << EOF … … 71 71 EOF</userinput></screen> 72 72 73 <para os="h">Prepare EG libcfor compilation:</para>73 <para os="h">Prepare EGLIBC for compilation:</para> 74 74 75 75 <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ … … 87 87 <term><parameter>BUILD_CC="gcc"</parameter></term> 88 88 <listitem> 89 <para>This tells EG libcto use the compiler on the host system. This is90 used to create the tools EG libcuses during its build.</para>89 <para>This tells EGLIBC to use the compiler on the host system. This is 90 used to create the tools EGLIBC uses during its build.</para> 91 91 </listitem> 92 92 </varlistentry> … … 95 95 <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term> 96 96 <listitem> 97 <para>This forces EG libcto use the GCC compiler that we made for our target97 <para>This forces EGLIBC to use the GCC compiler that we made for our target 98 98 architecture.</para> 99 99 </listitem> … … 103 103 <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term> 104 104 <listitem> 105 <para>This forces EG libcto use the <command>ar</command> utility105 <para>This forces EGLIBC to use the <command>ar</command> utility 106 106 we made for our target architecture.</para> 107 107 </listitem> … … 111 111 <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term> 112 112 <listitem> 113 <para>This forces EG libcto use the <command>ranlib</command> utility113 <para>This forces EGLIBC to use the <command>ranlib</command> utility 114 114 we made for our target architecture.</para> 115 115 </listitem> … … 127 127 <term><parameter>--enable-add-ons</parameter></term> 128 128 <listitem> 129 <para>This tells EG libcto utilize all add-ons that are129 <para>This tells EGLIBC to utilize all add-ons that are 130 130 available.</para> 131 131 </listitem> … … 135 135 <term><parameter>--with-tls</parameter></term> 136 136 <listitem> 137 <para>This tells EG libcto use Thread Local Storage.</para>137 <para>This tells EGLIBC to use Thread Local Storage.</para> 138 138 </listitem> 139 139 </varlistentry> … … 142 142 <term><parameter>--with-__thread</parameter></term> 143 143 <listitem> 144 <para>This tells EG libcto use use the __thread for libc and144 <para>This tells EGLIBC to use use the __thread for libc and 145 145 libpthread builds.</para> 146 146 </listitem> … … 150 150 <term><parameter>--with-binutils=${CLFS}/cross-tools/bin</parameter></term> 151 151 <listitem> 152 <para>This tells EG libcto use the Binutils that are specific to152 <para>This tells EGLIBC to use the Binutils that are specific to 153 153 our target architecture.</para> 154 154 </listitem> … … 158 158 <term><parameter>--cache-file=config.cache</parameter></term> 159 159 <listitem> 160 <para>This tells EG libcto utilize a premade cache file.</para>160 <para>This tells EGLIBC to utilize a premade cache file.</para> 161 161 </listitem> 162 162 </varlistentry> … … 200 200 those locales that are wanted and needed. This can be achieved by using 201 201 the <command>localedef</command> command. Information on this command is 202 located in the <filename>INSTALL</filename> file in the EG libcsource.202 located in the <filename>INSTALL</filename> file in the EGLIBC source. 203 203 However, there are a number of locales that are essential in order for the 204 204 tests of future packages to pass, in particular, the … … 247 247 248 248 <sect2 id="conf-eglibc" role="configuration"> 249 <title>Configuring EG libc</title>249 <title>Configuring EGLIBC</title> 250 250 251 251 <indexterm zone="conf-eglibc"> … … 258 258 259 259 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created 260 because, although EG libcprovides defaults when this file is missing or261 corrupt, the EG libcdefaults do not work well in a networked environment.260 because, although EGLIBC provides defaults when this file is missing or 261 corrupt, the EGLIBC defaults do not work well in a networked environment. 262 262 The time zone also needs to be configured.</para> 263 263 … … 351 351 352 352 <sect2 id="contents-eglibc" role="content"> 353 <title>Contents of EG libc</title>353 <title>Contents of EGLIBC</title> 354 354 355 355 <segmentedlist> … … 744 744 <term><filename class="libraryfile">libmemusage</filename></term> 745 745 <listitem> 746 <para>Used by <command>memusage</command> (included in EG libc, but746 <para>Used by <command>memusage</command> (included in EGLIBC, but 747 747 not built in a base CLFS system as it has additional dependencies) 748 748 to help collect information about the memory usage of a program</para> -
BOOK/cross-tools/common/gcc-static.xml
r11462e6 rfef8487 78 78 include files, since they haven't been created for this architecture 79 79 yet. GCC will be able to find the multi-thread information after 80 the EG libcheaders are created.</para>80 the EGLIBC headers are created.</para> 81 81 </listitem> 82 82 </varlistentry> -
BOOK/cross-tools/common/shadow.xml
r11462e6 rfef8487 33 33 34 34 <para>The following value causes Shadow to use its internal lckpwdf 35 instead of the one provided by EG libc. The one provided by EGlibcwill35 instead of the one provided by EGLIBC. The one provided by EGLIBC will 36 36 attempt to modify the host system:</para> 37 37 -
BOOK/cross-tools/hppa/eglibc.xml
r11462e6 rfef8487 7 7 8 8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <title>EG libc-&eglibc-version;</title>9 <title>EGLIBC-&eglibc-version;</title> 10 10 11 11 <?dbhtml filename="eglibc.html"?> 12 12 13 13 <indexterm zone="ch-cross-tools-eglibc"> 14 <primary sortas="a-EG libc">EGlibc</primary>14 <primary sortas="a-EGLIBC">EGLIBC</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of EG libc</title>22 <title>Installation of EGLIBC</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/x86/eglibc.xml
r11462e6 rfef8487 7 7 8 8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <title>EG libc-&eglibc-version;</title>9 <title>EGLIBC-&eglibc-version;</title> 10 10 11 11 <?dbhtml filename="eglibc.html"?> 12 12 13 13 <indexterm zone="ch-cross-tools-eglibc"> 14 <primary sortas="a-EG libc">EGlibc</primary>14 <primary sortas="a-EGLIBC">EGLIBC</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of EG libc</title>22 <title>Installation of EGLIBC</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.