[Clfs-commits] commit: r4309 - in /branches/clfs-sysroot/BOOK/cross-tools/common: gcc-final.xml gcc-static.xml ncurses.xml

svn at cross-lfs.org svn at cross-lfs.org
Sun Jan 4 10:33:29 PST 2009


Author: jciccone
Date: Sun Jan  4 18:33:29 2009
New Revision: 4309

Log:
Enable the GCC in cross-tools to link against the GMP and MPFR installed into cross-tools.

Added:
    branches/clfs-sysroot/BOOK/cross-tools/common/ncurses.xml
      - copied, changed from r4304, trunk/BOOK/cross-tools/common/ncurses.xml
Modified:
    branches/clfs-sysroot/BOOK/cross-tools/common/gcc-final.xml
    branches/clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml

Modified: branches/clfs-sysroot/BOOK/cross-tools/common/gcc-final.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/common/gcc-final.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/common/gcc-final.xml Sun Jan  4 18:33:29 2009
@@ -42,10 +42,12 @@
     href="gcc-static.xml"
     xpointer="xpointer(//*[@os='e'])"/>
 
-<screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
+<screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
+    ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
     --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
     --disable-multilib --with-sysroot=${CLFS} --disable-nls \
     --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
+    --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
     --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>
 
     <variablelist os="af">

Modified: branches/clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml Sun Jan  4 18:33:29 2009
@@ -43,11 +43,13 @@
     href="../../final-system/common/gcc.xml"
     xpointer="xpointer(//*[@os='e'])"/>
 
-<screen os="ae"><userinput>AR=ar ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
+<screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
+    ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
     --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
     --disable-multilib --with-sysroot=${CLFS} --disable-nls \
     --without-headers --with-newlib --disable-decimal-float \
     --disable-libgomp --disable-libmudflap --disable-libssp \
+    --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
     --disable-shared --disable-threads --enable-languages=c</userinput></screen>
 
     <variablelist os="af">




More information about the Clfs-commits mailing list