- Timestamp:
- Mar 15, 2009, 7:07:43 PM (16 years ago)
- Branches:
- master
- Children:
- 8909252
- Parents:
- 47dadc6
- Location:
- BOOK
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/variables.xml
r47dadc6 rcc8d737 35 35 case you have to exit and restart building later:</para> 36 36 37 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc 38 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen> 37 <screen os="f"><userinput>cat >> ~/.bashrc << EOF 38 export CLFS_HOST="${CLFS_HOST}" 39 export CLFS_TARGET="${CLFS_TARGET}" 40 EOF</userinput></screen> 39 41 40 42 </sect1> -
BOOK/cross-tools/common/cflags.xml
r47dadc6 rcc8d737 23 23 case you have to exit and restart building later:</para> 24 24 25 <screen><userinput>echo unset CFLAGS >> ~/.bashrc 26 echo unset CXXFLAGS >> ~/.bashrc</userinput></screen> 25 <screen><userinput>cat >> ~/.bashrc << EOF 26 unset CFLAGS 27 unset CXXFLAGS 28 EOF</userinput></screen> 27 29 28 30 </sect1> -
BOOK/cross-tools/common/glibc.xml
r47dadc6 rcc8d737 81 81 <filename>configparms</filename> to adjust installation paths:</para> 82 82 83 <screen os="g"><userinput>echo "install_root=${CLFS}" > configparms</userinput></screen> 83 <screen os="g"><userinput>cat > configparms << EOF 84 install_root=${CLFS} 85 EOF</userinput></screen> 84 86 85 87 <para os="h">Prepare Glibc for compilation:</para> -
BOOK/cross-tools/common/shadow.xml
r47dadc6 rcc8d737 23 23 make sure that the <filename>passwd</filename> program is found:</para> 24 24 25 <screen><userinput>echo "shadow_cv_passwd_dir=${CLFS}/bin" > config.cache</userinput></screen> 25 <screen><userinput>cat > config.cache << EOF 26 shadow_cv_passwd_dir=${CLFS}/bin" 27 EOF</userinput></screen> 26 28 27 29 <para>The following value causes Shadow to use its internal lckpwdf … … 29 31 attempt to modify the host system:</para> 30 32 31 <screen><userinput>echo "ac_cv_func_lckpwdf=no" >> config.cache</userinput></screen> 33 <screen><userinput>cat > config.cache << EOF 34 ac_cv_func_lckpwdf=no 35 EOF</userinput></screen> 32 36 33 37 <para>Prepare Shadow for compilation:</para> -
BOOK/final-system/common/bison.xml
r47dadc6 rcc8d737 35 35 this:</para> 36 36 37 <screen os="b2"><userinput>echo '#define YYENABLE_NLS 1' >> config.h</userinput></screen> 37 <screen os="b2"><userinput>cat >> config.h << "EOF" 38 #define YYENABLE_NLS 1 39 EOF</userinput></screen> 38 40 39 41 <para os="c">Compile the package:</para> -
BOOK/final-system/common/coreutils.xml
r47dadc6 rcc8d737 57 57 to correct this:</para> 58 58 59 <screen os="b"><userinput>echo "fu_cv_sys_stat_statfs2_bsize=yes" > config.cache</userinput></screen> 59 <screen os="b"><userinput>cat > config.cache << EOF 60 fu_cv_sys_stat_statfs2_bsize=yes 61 EOF</userinput></screen> 60 62 61 63 <para os="c">Now prepare Coreutils for compilation:</para> -
BOOK/final-system/common/findutils.xml
r47dadc6 rcc8d737 31 31 run a select few tests, Set the values manually:</para> 32 32 33 <screen os="c2"><userinput>echo "gl_cv_func_wcwidth_works=yes" > config.cache 34 echo "gl_cv_header_working_fcntl_h=yes" >> config.cache 35 echo "ac_cv_func_fnmatch_gnu=yes" >> config.cache</userinput></screen> 33 <screen os="c2"><userinput>cat > config.cache << EOF 34 gl_cv_func_wcwidth_works=yes 35 gl_cv_header_working_fcntl_h=yes 36 ac_cv_func_fnmatch_gnu=yes 37 EOF</userinput></screen> 36 38 37 39 <para os="a">Prepare Findutils for compilation:</para> -
BOOK/final-system/common/gettext.xml
r47dadc6 rcc8d737 31 31 run a select few tests, Set the values manually:</para> 32 32 33 <screen os="c2"><userinput>echo "am_cv_func_iconv_works=yes" > config.cache 34 echo "gl_cv_func_wcwidth_works=yes" >> config.cache 35 echo "gt_cv_func_printf_posix=yes" >> config.cache 36 echo "gt_cv_int_divbyzero_sigfpe=yes" >> config.cache</userinput></screen> 33 <screen os="c2"><userinput>cat > config.cache << EOF 34 am_cv_func_iconv_works=yes 35 gl_cv_func_wcwidth_works=yes 36 gt_cv_func_printf_posix=yes 37 gt_cv_int_divbyzero_sigfpe=yes 38 EOF</userinput></screen> 37 39 38 40 <para os="a">Prepare Gettext for compilation:</para> -
BOOK/final-system/common/kbd.xml
r47dadc6 rcc8d737 29 29 run a select few tests, Set the values manually:</para> 30 30 31 <screen os="cc1"><userinput>echo "ac_cv_func_setpgrp_void=yes" > config.cache 32 echo "ac_cv_func_malloc_0_nonnull=yes" >> config.cache 33 echo "ac_cv_func_realloc_0_nonnull=yes" >> config.cache</userinput></screen> 31 <screen os="cc1"><userinput>cat > config.cache << EOF 32 ac_cv_func_setpgrp_void=yes 33 ac_cv_func_malloc_0_nonnull=yes 34 ac_cv_func_realloc_0_nonnull=yes 35 EOF</userinput></screen> 34 36 35 37 <para os="a">Prepare Kbd for compilation:</para> -
BOOK/final-system/common/patch.xml
r47dadc6 rcc8d737 33 33 force the fallback value.</para> 34 34 35 <screen os="b"><userinput>echo "ac_cv_path_ed_PROGRAM=ed" > config.cache</userinput></screen> 35 <screen os="b"><userinput>cat > config.cache << EOF 36 ac_cv_path_ed_PROGRAM=ed 37 EOF</userinput></screen> 36 38 37 39 <para os="c">Prepare Patch for compilation:</para> -
BOOK/final-system/common/psmisc.xml
r47dadc6 rcc8d737 30 30 following tells it that we do:</para> 31 31 32 <screen os="a2"><userinput>echo "ac_cv_func_malloc_0_nonnull=yes" > config.cache 33 echo "ac_cv_func_realloc_0_nonnull=yes" >> config.cache</userinput></screen> 32 <screen os="a2"><userinput>cat > config.cache << EOF 33 ac_cv_func_malloc_0_nonnull=yes 34 ac_cv_func_realloc_0_nonnull=yes 35 EOF</userinput></screen> 34 36 35 37 <para os="a">Prepare Psmisc for compilation:</para> -
BOOK/final-system/common/shadow.xml
r47dadc6 rcc8d737 37 37 cannot be run when cross-compiling:</para> 38 38 39 <screen os="c"><userinput>echo "ac_cv_func_setpgrp_void=yes" > config.cache</userinput></screen> 39 <screen os="c"><userinput>cat > config.cache << EOF 40 ac_cv_func_setpgrp_void=yes 41 EOF</userinput></screen> 40 42 41 43 <para os="d">Prepare Shadow for compilation:</para> -
BOOK/final-system/common/variables.xml
r47dadc6 rcc8d737 25 25 prevent issues if you stop and come back later:</para> 26 26 27 <screen><userinput>echo export CC=\""${CC}\"" >> ~/.bashrc 28 echo export CXX=\""${CXX}\"" >> ~/.bashrc 29 echo export AR=\""${AR}\"" >> ~/.bashrc 30 echo export AS=\""${AS}\"" >> ~/.bashrc 31 echo export RANLIB=\""${RANLIB}\"" >> ~/.bashrc 32 echo export LD=\""${LD}\"" >> ~/.bashrc 33 echo export STRIP=\""${STRIP}\"" >> ~/.bashrc</userinput></screen> 27 <screen><userinput>cat > config.cache << EOF 28 export CC="${CC}" 29 export CXX="${CXX}" 30 export AR="${AR}" 31 export AS="${AS}" 32 export RANLIB="${RANLIB}" 33 export LD="${LD}" 34 export STRIP="${STRIP}" 35 EOF</userinput></screen> 34 36 35 37 </sect1> -
BOOK/final-system/common/vim.xml
r47dadc6 rcc8d737 62 62 class="directory">/etc</filename>:</para> 63 63 64 <screen os="c"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h</userinput></screen> 64 <screen os="c"><userinput>cat >> src/feature.h << "EOF" 65 #define SYS_VIMRC_FILE "/etc/vimrc" 66 EOF</userinput></screen> 65 67 66 68 <para os="d">Prepare Vim for compilation:</para> -
BOOK/network/common/hostname.xml
r47dadc6 rcc8d737 22 22 and enter a hostname by running:</para> 23 23 24 <screen><userinput>echo "HOSTNAME=<replaceable>[clfs]</replaceable>" > ${CLFS}/etc/sysconfig/network</userinput></screen> 24 <screen><userinput>cat > ${CLFS}/etc/sysconfig/network << EOF 25 HOSTNAME=<replaceable>[clfs]</replaceable> 26 EOF</userinput></screen> 25 27 26 28 <para><replaceable>[clfs]</replaceable> needs to be replaced with the -
BOOK/the-end/theend.xml
r47dadc6 rcc8d737 24 24 Create this file by running:</para> 25 25 26 <screen><userinput>echo CLFS-Sysroot-&version; > ${CLFS}/etc/clfs-release</userinput></screen> 26 <screen><userinput>cat > ${CLFS}/etc/clfs-release << EOF 27 CLFS-Sysroot-&version; 28 EOF</userinput></screen> 27 29 28 30 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.