Changes in BOOK/temp-system/common/gcc.xml [cc858ed:e05c4f0]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/gcc.xml
rcc858ed re05c4f0 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../../ final-system/common/gcc.xml"26 href="../../cross-tools/common/gcc-static.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../ final-system/common/gcc.xml"30 href="../../cross-tools/common/gcc-static.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 47 47 xpointer="xpointer(//*[@os='ah'])"/> 48 48 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 href="../../final-system/common/gcc.xml" 51 xpointer="xpointer(//*[@os='fix1'])"/> 49 <para os="cf">Also, we need to set the directory searched by the fixincludes 50 process for system headers, so it won't look at the host's headers:</para> 52 51 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 54 href="../../final-system/common/gcc.xml" 55 xpointer="xpointer(//*[@os='fix2'])"/>52 <screen os="cg"><userinput>cp -v gcc/Makefile.in{,.orig} 53 sed -e 's@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g' \ 54 gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 56 55 57 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 72 71 <screen os="ck"><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ 73 72 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 74 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \ 75 --enable-c99 --enable-shared --enable-threads=posix --disable-multilib \ 76 --disable-nls --enable-__cxa_atexit --enable-languages=c,c++ \ 77 --disable-libstdcxx-pch --enable-cloog-backend=isl --with-gmp=/tools \ 78 --with-mpfr=/tools --with-mpc=/tools --with-isl=/tools \ 79 --disable-isl-version-check --with-cloog=/tools --with-system-zlib \ 80 --with-native-system-header-dir=/tools/include --disable-libssp \ 81 --disable-install-libiberty --enable-checking=release \ 82 --enable-libstdcxx-time</userinput></screen> 73 --with-local-prefix=/tools --enable-long-long --enable-c99 \ 74 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 75 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch \ 76 --disable-multilib</userinput></screen> 83 77 84 78 <variablelist os="cl"> … … 96 90 </variablelist> 97 91 98 <para os=" s1">The following will prevent GCC from looking in the wrong92 <para os="ts1">The following will prevent GCC from looking in the wrong 99 93 directories for headers and libraries:</para> 100 94 101 <screen os=" s2"><userinput>cp -v Makefile{,.orig}102 sed "/^HOST_\(GMP\| ISL\|CLOOG\)\(LIBS\|INC\)/s:/tools:/cross-tools:g" \103 Makefile.orig >Makefile</userinput></screen>95 <screen os="ts2"><userinput>cp -v Makefile{,.orig} 96 sed "/^HOST_\(GMP\|PPL\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::" \ 97 Makefile.orig > Makefile</userinput></screen> 104 98 105 99 <para os="cm">Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.