Changeset c1832da for BOOK/temp-system/common
- Timestamp:
- Jan 17, 2009, 11:58:17 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 95de45a
- Parents:
- 0defd7d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/gcc.xml
r0defd7d rc1832da 47 47 xpointer="xpointer(//*[@os='ad'])"/> 48 48 49 <para os="cd">Now we will change <command>cpp</command>'s search path so it50 won't look in <filename class="directory">/usr/include</filename>:</para>51 52 <screen os="ce"><userinput>cp -v gcc/cppdefault.c{,.orig}53 sed -e '/#define STANDARD_INCLUDE_DIR/s@"/usr/include"@0@g' \54 gcc/cppdefault.c.orig > gcc/cppdefault.c</userinput></screen>55 56 49 <para os="cf">Also, we need to set the directory searched by the fixincludes 57 50 process for system headers, so it won't look at the host's headers:</para> … … 77 70 78 71 <screen os="ck"><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ 79 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 80 --with-local-prefix=/tools --enable-long-long --enable-c99 \ 81 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 82 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 72 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 73 --with-sysroot=${CLFS} --with-local-prefix=/tools --enable-long-long \ 74 --enable-c99 --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">
Note:
See TracChangeset
for help on using the changeset viewer.