Author: jim Date: 2005-04-29 00:20:37 -0600 (Fri, 29 Apr 2005) New Revision: 5144
Modified: branches/cross-lfs/BOOK/cross-tools/gcc-final.xml branches/cross-lfs/BOOK/cross-tools/gcc-static.xml branches/cross-lfs/BOOK/cross-tools/glibc.xml branches/cross-lfs/BOOK/cross-tools/variables.xml branches/cross-lfs/BOOK/introduction/changelog.xml branches/cross-lfs/BOOK/temp-system/texinfo.xml Log: More Updates Modified: branches/cross-lfs/BOOK/cross-tools/gcc-final.xml =================================================================== --- branches/cross-lfs/BOOK/cross-tools/gcc-final.xml 2005-04-28 18:04:36 UTC (rev 5143) +++ branches/cross-lfs/BOOK/cross-tools/gcc-final.xml 2005-04-29 06:20:37 UTC (rev 5144) @@ -12,7 +12,7 @@ <secondary>cross tools, final</secondary></indexterm> <sect2 role="package"><title/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/gcc.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/gcc-pass2.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> @@ -20,7 +20,7 @@ <seglistitem><seg>4.4 SBU</seg><seg>300 MB</seg></seglistitem> </segmentedlist> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/gcc.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/gcc-pass2.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> </sect2> Modified: branches/cross-lfs/BOOK/cross-tools/gcc-static.xml =================================================================== --- branches/cross-lfs/BOOK/cross-tools/gcc-static.xml 2005-04-28 18:04:36 UTC (rev 5143) +++ branches/cross-lfs/BOOK/cross-tools/gcc-static.xml 2005-04-29 06:20:37 UTC (rev 5144) @@ -12,7 +12,7 @@ <secondary>cross tools, static libgcc</secondary></indexterm> <sect2 role="package"><title/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/gcc.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/gcc-pass2.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> @@ -20,7 +20,7 @@ <seglistitem><seg>4.4 SBU</seg><seg>300 MB</seg></seglistitem> </segmentedlist> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/gcc.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/gcc-pass2.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> </sect2> Modified: branches/cross-lfs/BOOK/cross-tools/glibc.xml =================================================================== --- branches/cross-lfs/BOOK/cross-tools/glibc.xml 2005-04-28 18:04:36 UTC (rev 5143) +++ branches/cross-lfs/BOOK/cross-tools/glibc.xml 2005-04-29 06:20:37 UTC (rev 5144) @@ -60,7 +60,8 @@ cd ../glibc-build</userinput></screen> <para arch="alpha;ppc;x86;">For NPTL enabled systems we will need to add the following lines to config.cache</para> -<screen><userinput>echo "libc_cv_forced_unwind=yes" > config.cache + +<screen arch="alpha;ppc;x86"><userinput>echo "libc_cv_forced_unwind=yes" > config.cache echo "libc_cv_c_cleanup=yes" >> config.cache</userinput></screen> <para>Next, prepare Glibc for compilation:</para> Modified: branches/cross-lfs/BOOK/cross-tools/variables.xml =================================================================== --- branches/cross-lfs/BOOK/cross-tools/variables.xml 2005-04-28 18:04:36 UTC (rev 5143) +++ branches/cross-lfs/BOOK/cross-tools/variables.xml 2005-04-29 06:20:37 UTC (rev 5144) @@ -57,6 +57,11 @@ <screen><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" >> ~/.bashrc echo export LFS_TARGET=\""${LFS_TARGET}\"" >> ~/.bashrc</userinput></screen> +<para>Let's also create a file with the variables for the final-system +glibc build:</para> + +<screen><userinput>echo "${LFS_TARGET}" > /tools/lib/target</userinput></screen> + <para>List of architectures and target triplets</para> <table><title>Target Triplets</title> Modified: branches/cross-lfs/BOOK/introduction/changelog.xml =================================================================== --- branches/cross-lfs/BOOK/introduction/changelog.xml 2005-04-28 18:04:36 UTC (rev 5143) +++ branches/cross-lfs/BOOK/introduction/changelog.xml 2005-04-29 06:20:37 UTC (rev 5144) @@ -99,7 +99,6 @@ <listitem><para>Moved temp-tools linux-libc-headers to final-system.</para></listitem> <listitem><para>Added perl back to temp-system.</para></listitem> <listitem><para>Moved temp-tools texinfo to temp-system.</para></listitem> -<listitem><para>Added CC and CXX to final-system build of glibc and gcc.</para></listitem> </itemizedlist> </listitem> </itemizedlist> Modified: branches/cross-lfs/BOOK/temp-system/texinfo.xml =================================================================== --- branches/cross-lfs/BOOK/temp-system/texinfo.xml 2005-04-28 18:04:36 UTC (rev 5143) +++ branches/cross-lfs/BOOK/temp-system/texinfo.xml 2005-04-29 06:20:37 UTC (rev 5144) @@ -29,15 +29,13 @@ <para>Prepare Texinfo for compilation:</para> -<screen><userinput>./configure --prefix=/tools</userinput></screen> +<screen><userinput>./configure --prefix=/tools \ + --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET}</userinput></screen> <para>Compile the package:</para> -<screen><userinput>make</userinput></screen> +<screen><userinput>make LDFLAGS="-s"</userinput></screen> -<para>To test the results, issue: <userinput>make -check</userinput>.</para> - <para>Install the package:</para> <screen><userinput>make install</userinput></screen> -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
