diff --git a/BOOK/cross-tools/ppc64-chapter.xml b/BOOK/cross-tools/ppc64-chapter.xml index b7f4cebf6..0349e4b71 100644 --- a/BOOK/cross-tools/ppc64-chapter.xml +++ b/BOOK/cross-tools/ppc64-chapter.xml @@ -22,9 +22,9 @@ - + - + diff --git a/BOOK/cross-tools/ppc64/gcc-final.xml b/BOOK/cross-tools/ppc64/gcc-final.xml new file mode 100644 index 000000000..de59ab8a1 --- /dev/null +++ b/BOOK/cross-tools/ppc64/gcc-final.xml @@ -0,0 +1,110 @@ + + + %general-entities; +]> + + + + + Cross GCC-&gcc-version; - Final + + + GCC + cross tools, final + + + + + + Installation of GCC Cross Compiler + + + + + + + + + + + + + + + + + +AR=ar \ +LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ +../gcc-&gcc-version;/configure \ + --prefix=/cross-tools \ + --build=${CLFS_HOST} \ + --target=${CLFS_TARGET} \ + --host=${CLFS_HOST} \ + --with-sysroot=${CLFS} \ + --with-local-prefix=/tools \ + --with-native-system-header-dir=/tools/include \ + --disable-static \ + --enable-languages=c,c++ \ + --with-mpc=/cross-tools \ + --with-mpfr=/cross-tools \ + --with-gmp=/cross-tools \ + --with-isl=/cross-tools + + + + + + + + + + + + + + + + + <para>Details on this package are located in <xref + linkend="contents-gcc" role="."/></para> + + </sect2> + +</sect1> diff --git a/BOOK/cross-tools/ppc64/gcc-static.xml b/BOOK/cross-tools/ppc64/gcc-static.xml new file mode 100644 index 000000000..6bf00aa97 --- /dev/null +++ b/BOOK/cross-tools/ppc64/gcc-static.xml @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../../general.ent"> + %general-entities; +]> + +<sect1 id="ch-cross-tools-gcc-static" role="wrap"> + <?dbhtml filename="gcc-static.html"?> + + <title>Cross GCC-&gcc-version; - Static + + + GCC + cross tools, static + + + + + + Installation of Cross GCC Compiler with Static libgcc + and no Threads + + + + + + + + + + + + + + + + + + + + + + + +AR=ar \ +LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ +../gcc-&gcc-version;/configure \ + --prefix=/cross-tools \ + --build=${CLFS_HOST} \ + --host=${CLFS_HOST} \ + --target=${CLFS_TARGET} \ + --with-sysroot=${CLFS} \ + --with-local-prefix=/tools \ + --with-native-system-header-dir=/tools/include \ + --disable-shared \ + --with-mpfr=/cross-tools \ + --with-gmp=/cross-tools \ + --with-isl=/cross-tools \ + --with-mpc=/cross-tools \ + --without-headers \ + --with-newlib \ + --disable-decimal-float \ + --disable-libgomp \ + --disable-libssp \ + --disable-libatomic \ + --disable-libitm \ + --disable-libsanitizer \ + --disable-libquadmath \ + --disable-libvtv \ + --disable-libcilkrts \ + --disable-libstdc++-v3 \ + --disable-threads \ + --disable-nls \ + --disable-libmpx \ + --enable-languages=c \ + --with-glibc-version=&glibc-version; + + + + + + + + + + + + + + + + + + + <para>Details on this package are located in <xref + linkend="contents-gcc" role="."/></para> + + </sect2> + +</sect1>