Changes in BOOK/temp-system/common/gcc.xml [e05c4f0:cc858ed]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/gcc.xml
re05c4f0 rcc858ed 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../../ cross-tools/common/gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../ cross-tools/common/gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 47 47 xpointer="xpointer(//*[@os='ah'])"/> 48 48 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> 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 href="../../final-system/common/gcc.xml" 51 xpointer="xpointer(//*[@os='fix1'])"/> 51 52 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>53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 54 href="../../final-system/common/gcc.xml" 55 xpointer="xpointer(//*[@os='fix2'])"/> 55 56 56 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 71 72 <screen os="ck"><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ 72 73 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 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> 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> 77 83 78 84 <variablelist os="cl"> … … 90 96 </variablelist> 91 97 92 <para os=" ts1">The following will prevent GCC from looking in the wrong98 <para os="s1">The following will prevent GCC from looking in the wrong 93 99 directories for headers and libraries:</para> 94 100 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>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> 98 104 99 105 <para os="cm">Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.