Author: jim
Date: 2005-04-30 00:13:07 -0600 (Sat, 30 Apr 2005)
New Revision: 5149

Modified:
   branches/cross-lfs/BOOK/introduction/changelog.xml
   branches/cross-lfs/BOOK/temp-system/bash.xml
   branches/cross-lfs/BOOK/temp-system/binutils.xml
   branches/cross-lfs/BOOK/temp-system/chapter.xml
   branches/cross-lfs/BOOK/temp-system/coreutils.xml
   branches/cross-lfs/BOOK/temp-system/gawk.xml
   branches/cross-lfs/BOOK/temp-system/gcc.xml
   branches/cross-lfs/BOOK/temp-system/ncurses.xml
Log:
Updates from Ryan's updated scripts



Modified: branches/cross-lfs/BOOK/introduction/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/changelog.xml  2005-04-30 04:08:01 UTC 
(rev 5148)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml  2005-04-30 06:13:07 UTC 
(rev 5149)
@@ -100,6 +100,7 @@
 <listitem><para>Removed libidn from glibc builds in 
cross-tools.</para></listitem>
 <listitem><para>Removed --host --build from temp-system.</para></listitem>
 <listitem><para>Removed the /tools/lib/lfstarget file.</para></listitem>
+<listitem><para>Updates from Ryan's updated scripts.</para></listitem>
 </itemizedlist>
 </listitem>
 </itemizedlist>

Modified: branches/cross-lfs/BOOK/temp-system/bash.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/bash.xml        2005-04-30 04:08:01 UTC 
(rev 5148)
+++ branches/cross-lfs/BOOK/temp-system/bash.xml        2005-04-30 06:13:07 UTC 
(rev 5149)
@@ -38,8 +38,8 @@
 
 <para>Prepare Bash for compilation:</para>
 
-<screen><userinput>./configure --prefix=/tools --without-bash-malloc \
-   --host=${LFS_TARGET}</userinput></screen>
+<screen><userinput>./configure --prefix=/tools --with-curses \
+   --without-bash-malloc --host=${LFS_TARGET}</userinput></screen>
 
 <para>The meaning of the configure option:</para>
 

Modified: branches/cross-lfs/BOOK/temp-system/binutils.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/binutils.xml    2005-04-30 04:08:01 UTC 
(rev 5148)
+++ branches/cross-lfs/BOOK/temp-system/binutils.xml    2005-04-30 06:13:07 UTC 
(rev 5149)
@@ -52,9 +52,9 @@
 
 <para>Now prepare Binutils for compilation:</para>
 
-<screen><userinput>../binutils-&binutils-version;/configure \
-     --prefix=/tools --host=${LFS_TARGET} --disable-nls --enable-shared \
-     --enable-64-bit-bfd</userinput></screen>
+<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
+     --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
+     --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>
 
 <para>The meaning of the configure options:</para>
 

Modified: branches/cross-lfs/BOOK/temp-system/chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/chapter.xml     2005-04-30 04:08:01 UTC 
(rev 5148)
+++ branches/cross-lfs/BOOK/temp-system/chapter.xml     2005-04-30 06:13:07 UTC 
(rev 5149)
@@ -29,8 +29,8 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="ncurses.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="patch.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="tar.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="bash.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="texinfo.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="bash.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="perl.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="choose.xml"/>
 

Modified: branches/cross-lfs/BOOK/temp-system/coreutils.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/coreutils.xml   2005-04-30 04:08:01 UTC 
(rev 5148)
+++ branches/cross-lfs/BOOK/temp-system/coreutils.xml   2005-04-30 06:13:07 UTC 
(rev 5149)
@@ -36,7 +36,7 @@
 
 <screen><userinput>DEFAULT_POSIX2_VERSION=199209 \
    ./configure --prefix=/tools --cache-file=config.cache \
-   --host=${LFS_TARGET}</userinput></screen>
+   --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
 
 <para>Compile the package:</para>
 

Modified: branches/cross-lfs/BOOK/temp-system/gawk.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/gawk.xml        2005-04-30 04:08:01 UTC 
(rev 5148)
+++ branches/cross-lfs/BOOK/temp-system/gawk.xml        2005-04-30 06:13:07 UTC 
(rev 5149)
@@ -30,7 +30,7 @@
 <para>Prepare Gawk for compilation:</para>
 
 <screen><userinput>./configure --prefix=/tools \
-   --host=${LFS_TARGET}</userinput></screen>
+   --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
 
 <para>Compile the package:</para>
 

Modified: branches/cross-lfs/BOOK/temp-system/gcc.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/gcc.xml 2005-04-30 04:08:01 UTC (rev 
5148)
+++ branches/cross-lfs/BOOK/temp-system/gcc.xml 2005-04-30 06:13:07 UTC (rev 
5149)
@@ -36,10 +36,10 @@
 
 <screen><userinput>patch -Np1 -i 
../gcc-&gcc-version;-posix-1.patch</userinput></screen>
 
-<!-- This patch may or may not be needed testing needs to be done
-patch -Np1 -i ../gcc-&gcc-version;-fix_configure_for_target_native-1.patch
--->
+<para>Fixes configure logic when target triplet = target triplet:</para>
 
+<screen><userinput>patch -Np1 -i 
../gcc-&gcc-version;-fix_configure_for_target_native-1.patch</userinput></screen>
+
 <para>Now we will need to setup our StartFile Spec to the correct library
 location:</para>
 
@@ -57,6 +57,11 @@
 <screen><userinput>sed -i '[EMAIL PROTECTED](^NATIVE_SYSTEM_HEADER_DIR 
=\)[EMAIL PROTECTED] /tools/[EMAIL PROTECTED]' \
    gcc/Makefile.in</userinput></screen>
 
+<para>User our cross-complier instead of the one gcc builds, named xgcc:</para>
+
+<screen><userinput>sed -i "[EMAIL PROTECTED]/xgcc@/tools/bin/[EMAIL 
PROTECTED]" \
+   gcc/mklibgcc.in</userinput></screen>
+
 <important><para>The above patches and sed's are critical in ensuring a
 successful overall build. Do not forget to apply them.</para></important>
 

Modified: branches/cross-lfs/BOOK/temp-system/ncurses.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/ncurses.xml     2005-04-30 04:08:01 UTC 
(rev 5148)
+++ branches/cross-lfs/BOOK/temp-system/ncurses.xml     2005-04-30 06:13:07 UTC 
(rev 5149)
@@ -31,7 +31,7 @@
 
 <screen><userinput>./configure --prefix=/tools --with-shared \
    --host=${LFS_TARGET} --without-debug \
-   --with-build-cc=gcc</userinput></screen>
+   --with-build-cc=${LFS_TARGET}-gcc</userinput></screen>
 
 <para>The meaning of the configure options:</para>
 

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to