Changeset a074923 in clfs-sysroot
- Timestamp:
- Jul 22, 2007, 4:32:35 AM (17 years ago)
- Branches:
- master
- Children:
- 9568bd5
- Parents:
- 68ed089
- Location:
- BOOK
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootscripts/common/inputrc.xml
r68ed089 ra074923 37 37 using the following command:</para> 38 38 39 <screen>< userinput>cat > ${CLFS}/etc/inputrc << "EOF"39 <screen><?dbfo keep-together="auto"?><userinput>cat > ${CLFS}/etc/inputrc << "EOF" 40 40 <literal># Begin /etc/inputrc 41 41 # Modified by Chris Lynn <roryo@roryo.dynup.net> -
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 -
BOOK/final-system/common/coreutils.xml
r68ed089 ra074923 69 69 70 70 <screen os="j"><userinput>mv -v ${CLFS}/usr/bin/{cat,chgrp,chmod,chown,cp,date} ${CLFS}/bin 71 mv -v ${CLFS}/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir ,mknod} ${CLFS}/bin72 mv -v ${CLFS}/usr/bin/{m v,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin71 mv -v ${CLFS}/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir} ${CLFS}/bin 72 mv -v ${CLFS}/usr/bin/{mknod,mv,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin 73 73 mv -v ${CLFS}/usr/bin/chroot ${CLFS}/usr/sbin</userinput></screen> 74 74 -
BOOK/final-system/common/findutils.xml
r68ed089 ra074923 59 59 scripts in the CLFS-Bootscripts package. As <filename 60 60 class="directory">/usr</filename> may not be available during the early 61 stages of booting, the <command>find</command> binary need to be on 61 stages of booting, the <command>find</command> binary need to be on 62 62 the root partition:</para> 63 63 … … 68 68 69 69 <screen os="k"><userinput>cp ${CLFS}/usr/bin/updatedb{,.orig} 70 sed 's@find:=${BINDIR}@find:=/bin@' ${CLFS}/usr/bin/updatedb.orig > ${CLFS}/usr/bin/updatedb 70 sed 's@find:=${BINDIR}@find:=/bin@' ${CLFS}/usr/bin/updatedb.orig > \ 71 ${CLFS}/usr/bin/updatedb 71 72 rm ${CLFS}/usr/bin/updatedb.orig</userinput></screen> 72 73 -
BOOK/final-system/common/gcc.xml
r68ed089 ra074923 37 37 38 38 <screen os="b"><userinput>cp libiberty/Makefile.in{,.orig} 39 sed 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in.orig > libiberty/Makefile.in</userinput></screen> 39 sed 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in.orig > \ 40 libiberty/Makefile.in</userinput></screen> 40 41 41 42 <para os="e1">GCC provides a <command>gccbug</command> script which detects at … … 101 102 <seglistitem> 102 103 <seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov</seg> 103 <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libmudflap.[a,so], 104 <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libmudflap.[a,so], 104 105 libmudflapth.[a,so], libstdc++.[a,so], and 105 106 libsupc++.a</seg> -
BOOK/final-system/common/gzip.xml
r68ed089 ra074923 41 41 <para os="g">Now we will move some of utilities to /usr/bin to meet FHS compliance:</para> 42 42 43 <screen os="h"><userinput>mv ${CLFS}/bin/z{egrep,cmp,diff,fgrep,force,grep,less,more,new} ${CLFS}/usr/bin</userinput></screen> 43 <screen os="h"><userinput>mv ${CLFS}/bin/z{egrep,cmp,diff,fgrep,force,grep,less,more,new} \ 44 ${CLFS}/usr/bin</userinput></screen> 44 45 45 46 </sect2> -
BOOK/final-system/common/m4.xml
r68ed089 ra074923 57 57 58 58 <varlistentry id="m4"> 59 <term><command>m4</command></term> 59 <!-- Don't remove the extra space, it prevet a FOP warning. --> 60 <term><command>m4 </command></term> 60 61 <listitem> 61 62 <para>copies the given files while expanding the macros that they -
BOOK/final-system/common/ncurses.xml
r68ed089 ra074923 46 46 <para os="g">Move the Ncurses static libraries to the proper location:</para> 47 47 48 <screen os="h"><userinput>mv -v ${CLFS}/lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a ${CLFS}/usr/lib</userinput></screen> 48 <screen os="h"><userinput>mv -v ${CLFS}/lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a \ 49 ${CLFS}/usr/lib</userinput></screen> 49 50 50 51 <para os="i">Create symlinks in <filename class="directory">/usr/lib:</filename></para> -
BOOK/final-system/common/shadow.xml
r68ed089 ra074923 58 58 <listitem><para>Tells Shadow to install its configuration files into 59 59 /etc, rather than /usr/etc.</para></listitem> 60 </varlistentry> 60 </varlistentry> 61 61 <varlistentry> 62 62 <term><parameter>--without-libpam</parameter></term> … … 123 123 124 124 <screen role="nodump"><userinput>cp ${CLFS}/etc/login.defs login.defs.orig 125 sed 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' login.defs.orig > ${CLFS}/etc/login.defs</userinput></screen> 125 sed 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' login.defs.orig \ 126 > ${CLFS}/etc/login.defs</userinput></screen> 126 127 </note> 127 128
Note:
See TracChangeset
for help on using the changeset viewer.