Changeset 625455a in clfs-sysroot
- Timestamp:
- Jul 12, 2009, 4:45:11 PM (15 years ago)
- Branches:
- master
- Children:
- 135767c
- Parents:
- 40f9af6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/gcc.xml
r40f9af6 r625455a 74 74 <para os="e">Prepare GCC for compilation:</para> 75 75 76 <screen os="f"><userinput>../gcc-&gcc-version;/configure --prefix=/usr --libexecdir=/usr/lib \ 76 <screen os="f"><userinput>LDFLAGS="-Wl,-rpath-link,${CLFS}/cross-tools/${CLFS_TARGET}/lib" \ 77 ../gcc-&gcc-version;/configure --prefix=/usr --libexecdir=/usr/lib \ 77 78 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 78 79 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 79 80 --enable-c99 --enable-long-long --enable-clocale=gnu \ 80 81 --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 82 83 <para os="ts1">The following will prevent GCC from looking in the wrong 84 directories for headers and libraries:</para> 85 86 <screen os="ts2"><userinput>cp Makefile{,.orig} 87 sed "/^HOST_\(GMP\|PPL\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::" \ 88 Makefile.orig > Makefile</userinput></screen> 81 89 82 90 <para os="g">Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.