Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/temp-system/common/gcc.xml

    re05c4f0 rcc858ed  
    2424
    2525    <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"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <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"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4747    xpointer="xpointer(//*[@os='ah'])"/>
    4848
    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'])"/>
    5152
    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 &gt; 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'])"/>
    5556
    5657    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    7172<screen os="ck"><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
    7273  --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>
    7783
    7884    <variablelist os="cl">
     
    9096    </variablelist>
    9197
    92     <para os="ts1">The following will prevent GCC from looking in the wrong
     98    <para os="s1">The following will prevent GCC from looking in the wrong
    9399    directories for headers and libraries:</para>
    94100
    95 <screen os="ts2"><userinput>cp -v Makefile{,.orig}
    96 sed "/^HOST_\(GMP\|PPL\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::" \
    97     Makefile.orig &gt; Makefile</userinput></screen>
     101<screen os="s2"><userinput>cp -v Makefile{,.orig}
     102sed "/^HOST_\(GMP\|ISL\|CLOOG\)\(LIBS\|INC\)/s:/tools:/cross-tools:g" \
     103    Makefile.orig > Makefile</userinput></screen>
    98104
    99105    <para os="cm">Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.