Changeset d30b2ab in clfs-sysroot for BOOK/final-system
- Timestamp:
- Jan 5, 2009, 1:49:16 PM (16 years ago)
- Branches:
- master
- Children:
- fd3ab6f
- Parents:
- a16fa9c
- Location:
- BOOK/final-system/common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/bison.xml
ra16fa9c rd30b2ab 30 30 --prefix=/usr</userinput></screen> 31 31 32 <para os="b1">The configure system causes bison to be built without support32 <para os="b1">The configure system causes Bison to be built without support 33 33 for internationalization of error messages if a <command>bison</command> 34 34 program is not already in ${PATH}. The following addition will correct -
BOOK/final-system/common/coreutils.xml
ra16fa9c rd30b2ab 53 53 54 54 <para os="a">Configure can not properly determine how to get free space 55 when cross-compiling , Without putting the following entry into56 <filename>config.cache</filename> the <command>df</command> program will57 not be built.</para>55 when cross-compiling - as a result, the <command>df</command> program will 56 not be built. Add the following entry to <filename>config.cache</filename> 57 to correct this:</para> 58 58 59 59 <screen os="b"><userinput>echo "fu_cv_sys_stat_statfs2_bsize=yes" > config.cache</userinput></screen> -
BOOK/final-system/common/gcc.xml
ra16fa9c rd30b2ab 46 46 47 47 <para os="e1">GCC provides a <command>gccbug</command> script which detects at 48 compile time whether mktemp is present, and hardcodes the result in a test. 49 If mktemp is not found, the script will fall back to using less 50 random names for temporary files. We will be installing mktemp 51 later, so the following sed will simulate its presence:</para> 48 compile time whether <command>mktemp</command> is present, and hardcodes 49 the result in a test. If <command>mktemp</command> is not found, the 50 script will fall back to using less random names for temporary files. 51 <command>mktemp</command> will be installed as part of Coreutils 52 later, so the following <command>sed</command> will simulate its presence:</para> 52 53 53 54 <screen os="e2"><userinput>cp gcc/gccbug.in{,.orig} 54 55 sed 's/@have_mktemp_command@/yes/' gcc/gccbug.in.orig > gcc/gccbug.in</userinput></screen> 55 56 56 <para os="s1">The fixincludes attempts to "fix" the system headers57 installed so far. Since gcc is cross-compiled expecting the system58 headers to be in <filename class="directory">/usr/include</filename>59 the script will be looking at host headers. The following sed prevents60 the fixincludes scriptfrom running:</para>57 <para os="s1">The <command>fixincludes</command> script attempts to "fix" 58 the system headers installed so far. Since GCC is cross-compiled expecting 59 the system headers to be in <filename class="directory">/usr/include</filename>, 60 the script will be looking at the host system's headers. The following sed 61 prevents <command>fixincludes</command> from running:</para> 61 62 62 63 <screen os="s2"><userinput>cp gcc/Makefile.in{,.orig} -
BOOK/final-system/common/gmp.xml
ra16fa9c rd30b2ab 46 46 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 47 47 48 <para os="g">At this time, libtool does not support searching a sysroot for libraries. Leaving the .la files in place will cause libtool to look in the wrong place for libraries. These files are not required for linking on linux. Remove them with the following command:</para> 48 <para os="g">At this time, Libtool does not support searching a sysroot 49 for libraries. Leaving the .la files in place will cause Libtool to look 50 in the wrong place for libraries. These files are not required for 51 linking on Linux. Remove them with the following command:</para> 49 52 50 53 <screen os="h"><userinput>rm -v ${CLFS}/usr/lib/lib{gmp,gmpxx,mp}.la</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.