Changeset a074923 in clfs-sysroot for BOOK/cross-tools
- Timestamp:
- Jul 22, 2007, 4:32:35 AM (17 years ago)
- Branches:
- master
- Children:
- 9568bd5
- Parents:
- 68ed089
- Location:
- BOOK/cross-tools
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/glibc-headers.xml
r68ed089 ra074923 27 27 because this only installs the headers; no compiling takes place. In the 28 28 next Glibc chapter, we use the GCC that's built right after this chapter.</para> 29 29 30 30 <screen os="s2"><userinput>cp configure{,.orig} 31 31 sed -e 's/3.4/3.[0-9]/g' configure.orig > configure</userinput></screen> … … 73 73 <variablelist os="dj"> 74 74 <title>The meaning of the configure options:</title> 75 75 76 76 <varlistentry os="dj1"> 77 77 <term><parameter>CC=gcc</parameter></term> … … 80 80 </listitem> 81 81 </varlistentry> 82 82 83 83 <varlistentry os="dj2"> 84 84 <term><parameter>--with-headers=${CLFS}/usr/include</parameter></term> … … 90 90 </listitem> 91 91 </varlistentry> 92 92 93 93 </variablelist> 94 94 95 95 <para os="k">Now, install the headers:</para> 96 96 … … 100 100 we will copy the additional header files we need.</para> 101 101 102 <para os="n">First we will copy a common file over to <filename 102 <para os="n">First we will copy a common file over to <filename 103 103 class="directory">${CLFS}/usr/include</filename>:</para> 104 104 … … 110 110 111 111 <para os="r">Another header is needed for NPTL:</para> 112 113 <screen os="s"><userinput>cp -v ../glibc-&glibc-version;/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h \ 112 113 <screen os="s"><userinput>cp -v \ 114 ../glibc-&glibc-version;/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h \ 114 115 ${CLFS}/usr/include/bits</userinput></screen> 115 116 -
BOOK/cross-tools/arm/variables.xml
r68ed089 ra074923 22 22 following command:</para> 23 23 24 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 24 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | \ 25 sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 25 26 26 27 <para os="c">Now you will need to set the triplet for the target -
BOOK/cross-tools/common/glibc.xml
r68ed089 ra074923 89 89 <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ 90 90 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 91 ../glibc-&glibc-version;/configure --prefix=/usr --libexecdir=/usr/lib/glibc \ 92 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 93 --disable-profile --enable-add-ons \ 94 --with-tls --enable-kernel=2.6.0 --with-__thread \ 95 --with-binutils=${CLFS}/cross-tools/bin --with-headers=${CLFS}/usr/include \ 96 --cache-file=config.cache</userinput></screen> 91 ../glibc-&glibc-version;/configure --prefix=/usr \ 92 --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 93 --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.0 \ 94 --with-__thread --with-binutils=${CLFS}/cross-tools/bin \ 95 --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen> 97 96 98 97 <variablelist os="j"> … … 134 133 <term><parameter>--disable-profile</parameter></term> 135 134 <listitem> 136 <para>This builds the libraries without profiling information. 135 <para>This builds the libraries without profiling information. 137 136 Omit this option if profiling on the temporary tools is necessary.</para> 138 137 </listitem> … … 226 225 export I18NPATH=${PWD}/localedata 227 226 export GCONV_PATH=${PWD}/iconvdata 228 export LOCALEDEF="${PWD}/locale/localedef-native --alias-file=../intl/locale.alias" 227 export LOCALEDEF="${PWD}/locale/localedef-native 228 --alias-file=../intl/locale.alias" 229 229 cd ../glibc-&glibc-version;/localedata 230 230 ${LOCALEDEF} -i locales/de_DE -f charmaps/ISO-8859-1 --prefix=${CLFS} de_DE 231 ${LOCALEDEF} -i locales/de_DE@euro -f charmaps/ISO-8859-15 --prefix=${CLFS} de_DE@euro 231 ${LOCALEDEF} -i locales/de_DE@euro -f charmaps/ISO-8859-15 \ 232 --prefix=${CLFS} de_DE@euro 232 233 ${LOCALEDEF} -i locales/en_HK -f charmaps/ISO-8859-1 --prefix=${CLFS} en_HK 233 234 ${LOCALEDEF} -i locales/en_PH -f charmaps/ISO-8859-1 --prefix=${CLFS} en_PH … … 236 237 ${LOCALEDEF} -i locales/fa_IR -f charmaps/UTF-8 --prefix=${CLFS} fa_IR 237 238 ${LOCALEDEF} -i locales/fr_FR -f charmaps/ISO-8859-1 --prefix=${CLFS} fr_FR 238 ${LOCALEDEF} -i locales/fr_FR@euro -f charmaps/ISO-8859-15 --prefix=${CLFS} fr_FR@euro 239 ${LOCALEDEF} -i locales/fr_FR@euro -f charmaps/ISO-8859-15 \ 240 --prefix=${CLFS} fr_FR@euro 239 241 ${LOCALEDEF} -i locales/it_IT -f charmaps/ISO-8859-1 --prefix=${CLFS} it_IT 240 242 ${LOCALEDEF} -i locales/ja_JP -f charmaps/EUC-JP --prefix=${CLFS} ja_JP -
BOOK/cross-tools/common/shadow.xml
r68ed089 ra074923 42 42 43 43 <screen><userinput>./configure --prefix=${CLFS}/cross-tools --sbindir=${CLFS}/cross-tools/bin \ 44 --sysconfdir=$CLFS/etc --disable-shared --without-libpam --without-audit \ 45 --without-selinux --program-prefix=${CLFS_TARGET}- --cache-file=config.cache</userinput></screen> 44 --sysconfdir=$CLFS/etc --disable-shared --without-libpam \ 45 --without-audit --without-selinux --program-prefix=${CLFS_TARGET}- \ 46 --cache-file=config.cache</userinput></screen> 46 47 47 48 <para>Add the proper prefix to the <filename>passwd</filename> program:</para> -
BOOK/cross-tools/hppa/glibc-headers.xml
r68ed089 ra074923 108 108 xpointer="xpointer(//*[@os='r'])"/> 109 109 110 <screen os="s"><userinput>cp -v ../glibc-&glibc-version;/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h \ 111 ${CLFS}/usr/include/bits</userinput></screen> 110 <screen os="s"><userinput>cp -v \ 111 ../glibc-&glibc-version;/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h \ 112 ${CLFS}/usr/include/bits</userinput></screen> 112 113 113 114 </sect2> -
BOOK/cross-tools/hppa/variables.xml
r68ed089 ra074923 39 39 <table os="g"> 40 40 <title>Processor Type and Target Triplets</title> 41 <?dbfo table-width="5in" ?> 42 41 43 <tgroup cols="2" align="center"> 42 <colspec colname="Processor"/> 43 <colspec colname="Triplet"/> 44 45 <colspec colnum="1" colwidth="2.5in" colname="Processor"/> 46 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/> 47 44 48 <thead> 45 49 <row> … … 48 52 </row> 49 53 </thead> 54 50 55 <tbody> 51 56 <row> … … 62 67 </row> 63 68 </tbody> 69 64 70 </tgroup> 71 65 72 </table> 66 73 -
BOOK/cross-tools/x86/variables.xml
r68ed089 ra074923 37 37 <table os="g"> 38 38 <title>Processor Type and Target Triplets</title> 39 <?dbfo table-width="5in" ?> 40 39 41 <tgroup cols="2" align="center"> 40 <colspec colname="Processor"/> 41 <colspec colname="Triplet"/> 42 43 <colspec colnum="1" colwidth="2.5in" colname="Processor"/> 44 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/> 45 42 46 <thead> 43 47 <row> … … 46 50 </row> 47 51 </thead> 52 48 53 <tbody> 49 54 <row> … … 64 69 </row> 65 70 </tbody> 71 66 72 </tgroup> 73 67 74 </table> 68 75
Note:
See TracChangeset
for help on using the changeset viewer.