- Timestamp:
- Jul 7, 2009, 8:49:42 AM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- b26d64d
- Parents:
- 4261659 (diff), 53750600 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- BOOK
- Files:
-
- 1 added
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/cloog-ppl.xml
r4261659 r6fcaede 37 37 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 38 38 ./configure --prefix=/cross-tools --enable-shared --with-bits=gmp \ 39 39 --with-gmp=/cross-tools --with-ppl=/cross-tools</userinput></screen> 40 40 41 41 <para os="c">Compile the package:</para> -
BOOK/cross-tools/common/ppl.xml
r4261659 r6fcaede 37 37 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 38 38 ./configure --prefix=/cross-tools --enable-shared \ 39 --enable-interfaces="c,cxx" \ 40 --with-libgmp-prefix=/cross-tools --with-libgmpxx-prefix=/cross-tools</userinput></screen> 39 --enable-interfaces="c,cxx" \ 40 --with-libgmp-prefix=/cross-tools \ 41 --with-libgmpxx-prefix=/cross-tools</userinput></screen> 41 42 42 43 <para os="c">Compile the package:</para> -
BOOK/final-system/common/cloog-ppl.xml
r4261659 r6fcaede 32 32 33 33 <screen os="b"><userinput>CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \ 34 ./configure --prefix=/usr --enable-shared --with-gmp =/usr\35 --with-ppl=/usr</userinput></screen>34 ./configure --prefix=/usr --enable-shared --with-gmp \ 35 --with-ppl</userinput></screen> 36 36 37 37 <para os="c">Compile the package:</para> -
BOOK/final-system/common/iproute2.xml
r4261659 r6fcaede 38 38 <para os="a">Compile the package:</para> 39 39 40 <screen os="b"><userinput>make DESTDIR= /DOCDIR=/usr/share/doc/iproute2 \40 <screen os="b"><userinput>make DESTDIR= DOCDIR=/usr/share/doc/iproute2 \ 41 41 MANDIR=/usr/share/man</userinput></screen> 42 42 … … 45 45 46 46 <varlistentry> 47 <term><parameter>DESTDIR= /</parameter></term>47 <term><parameter>DESTDIR=</parameter></term> 48 48 <listitem> 49 49 <para>This option overrides the default DESTDIR of /usr, so that … … 69 69 <para os="e">Install the package:</para> 70 70 71 <screen os="f"><userinput>make D OCDIR=/usr/share/doc/iproute2 \71 <screen os="f"><userinput>make DESTDIR= DOCDIR=/usr/share/doc/iproute2 \ 72 72 MANDIR=/usr/share/man install</userinput></screen> 73 73 -
BOOK/final-system/common/ppl.xml
r4261659 r6fcaede 30 30 <para os="a">Prepare PPL for compilation:</para> 31 31 32 <screen os="b"><userinput>CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \ 33 ./configure --prefix=/usr --enable-shared --with-libgmp-prefix=/usr \ 34 --with-libgmpxx-prefix=/usr</userinput></screen> 32 <screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \ 33 CXX="g++ -isystem /usr/include" \ 34 LDFLAGS="-Wl,-rpath-link,/lib" \ 35 ./configure --prefix=/usr --enable-shared</userinput></screen> 35 36 36 37 <para os="c">Compile the package:</para> -
BOOK/final-system/mips64-chapter.xml
r4261659 r6fcaede 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ppl.xml"/> 31 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ppl-n32.xml"/> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m ultilib/ppl-64bit.xml"/>32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/ppl-64bit.xml"/> 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/cloog-ppl.xml"/> 34 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/cloog-ppl-n32.xml"/> -
BOOK/final-system/multilib/cloog-ppl-64bit.xml
r4261659 r6fcaede 38 38 <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD64}" \ 39 39 LDFLAGS="-Wl,-rpath-link,/lib64 ${BUILD64}" ./configure --prefix=/usr \ 40 --libdir=/usr/lib64 --enable-shared --with-gmp=/usr\41 --with-ppl =/usr</userinput></screen>40 --libdir=/usr/lib64 --enable-shared --with-gmp \ 41 --with-ppl</userinput></screen> 42 42 43 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/cloog-ppl-n32.xml
r4261659 r6fcaede 37 37 xpointer="xpointer(//*[@os='a'])"/> 38 38 39 <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD N32}" \39 <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILDM32}" \ 40 40 LDFLAGS="-Wl,-rpath-link,/lib32 ${BUILDN32}" ./configure --prefix=/usr \ 41 --libdir=/usr/lib32 --enable-shared\42 --with- libgmp-prefix=/usr --with-libgmpxx-prefix=/usr</userinput></screen>41 --libdir=/usr/lib32 --enable-shared --with-gmp \ 42 --with-ppl</userinput></screen> 43 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/cloog-ppl.xml
r4261659 r6fcaede 39 39 <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD32}" \ 40 40 LDFLAGS="-Wl,-rpath-link,/lib ${BUILD32}" ./configure --prefix=/usr \ 41 42 --with-gmp =/usr --with-ppl=/usr</userinput></screen>41 --host=${CLFS_TARGET32} --enable-shared \ 42 --with-gmp --with-ppl</userinput></screen> 43 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/iproute2.xml
r4261659 r6fcaede 38 38 xpointer="xpointer(//*[@os='a'])"/> 39 39 40 <screen os="b"><userinput>make CC="gcc ${BUILD64}" DESTDIR= /LIBDIR=/usr/lib64 \40 <screen os="b"><userinput>make CC="gcc ${BUILD64}" DESTDIR= LIBDIR=/usr/lib64 \ 41 41 DOCDIR=/usr/share/doc/iproute2 MANDIR=/usr/share/man</userinput></screen> 42 42 … … 53 53 xpointer="xpointer(//*[@os='e'])"/> 54 54 55 <screen os="f"><userinput>make LIBDIR=/usr/lib64 \55 <screen os="f"><userinput>make DESTDIR= LIBDIR=/usr/lib64 \ 56 56 DOCDIR=/usr/share/doc/iproute2 \ 57 57 MANDIR=/usr/share/man install</userinput></screen> -
BOOK/final-system/multilib/ppl-64bit.xml
r4261659 r6fcaede 36 36 xpointer="xpointer(//*[@os='a'])"/> 37 37 38 <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD64}" \ 39 LDFLAGS="-Wl,-rpath-link,/lib64 ${BUILD64}" ./configure --prefix=/usr \ 40 --libdir=/usr/lib64 --enable-shared \ 41 --with-libgmp-prefix=/usr --with-libgmpxx-prefix=/usr</userinput></screen> 38 <screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD64}" \ 39 CXX="g++ -isystem /usr/include ${BUILD64}" \ 40 LDFLAGS="-Wl,-rpath-link,/lib64 ${BUILD64}" \ 41 ./configure --prefix=/usr \ 42 --libdir=/usr/lib64 --enable-shared</userinput></screen> 42 43 43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 69 70 xpointer="xpointer(//*[@os='i'])"/> 70 71 72 <para os="m1">Prepare <filename>ppl-config</filename> to be wrapped by 73 the multiarch wrapper and then wrap it:</para> 74 75 <screen os="m2"><userinput>mv -v /usr/bin/ppl-config{,-64} 76 ln -svf multiarch_wrapper /usr/bin/ppl-config</userinput></screen> 77 78 <para os="j">Create the 64bit header file:</para> 79 80 <screen os="k"><userinput>mv -v /usr/include/ppl{,-64}.hh</userinput></screen> 81 82 <para os="l">Finally, create a stub header in the place of the originals:</para> 83 84 <screen os="m"><userinput>cat > /usr/include/ppl.hh << "EOF" 85 /* ppl.hh - Stub Header */ 86 #ifndef __STUB__PPL_HH__ 87 #define __STUB__PPL_HH__ 88 89 #if defined(__x86_64__) || \ 90 defined(__sparc64__) || \ 91 defined(__arch64__) || \ 92 defined(__powerpc64__) || \ 93 defined (__s390x__) 94 # include "ppl-64.h" 95 #else 96 # include "ppl-32.h" 97 #endif 98 99 #endif /* __STUB__PPL_HH__ */ 100 EOF</userinput></screen> 101 71 102 </sect2> 72 103 -
BOOK/final-system/multilib/ppl-n32.xml
r4261659 r6fcaede 37 37 xpointer="xpointer(//*[@os='a'])"/> 38 38 39 <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILDN32}" \ 40 LDFLAGS="-Wl,-rpath-link,/lib32 ${BUILDN32}" ./configure --prefix=/usr \ 41 --libdir=/usr/lib32 --enable-shared --with-libgmp-prefix=/usr \ 42 --with-libgmpxx-prefix=/usr</userinput></screen> 39 <screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILDN32}" \ 40 CXX="g++ -isystem /usr/include ${BUILDN32}" \ 41 LDFLAGS="-Wl,-rpath-link,/lib32 ${BUILDN32}" \ 42 ./configure --prefix=/usr \ 43 --libdir=/usr/lib32 --enable-shared</userinput></screen> 43 44 44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 70 71 xpointer="xpointer(//*[@os='i'])"/> 71 72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="ppl.xml" 75 xpointer="xpointer(//*[@os='m1'])"/> 76 77 <screen os="m2"><userinput>mv -v /usr/bin/ppl-config{,-n32}</userinput></screen> 78 79 <para os="j">Create the N32 header file:</para> 80 81 <screen os="k"><userinput>mv -v /usr/include/ppl{,-n32}.hh</userinput></screen> 82 72 83 </sect2> 73 84 -
BOOK/final-system/multilib/ppl.xml
r4261659 r6fcaede 37 37 xpointer="xpointer(//*[@os='a'])"/> 38 38 39 <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD32}" \ 39 <screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD32}" \ 40 CXX="g++ -isystem /usr/include ${BUILD32}" \ 40 41 LDFLAGS="-Wl,-rpath-link,/lib ${BUILD32}" \ 41 ./configure --prefix=/usr --host=${CLFS_TARGET32} --enable-shared\42 --with-libgmp-prefix=/usr --with-libgmpxx-prefix=/usr</userinput></screen>42 ./configure --prefix=/usr --host=${CLFS_TARGET32} \ 43 --enable-shared</userinput></screen> 43 44 44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 70 71 xpointer="xpointer(//*[@os='i'])"/> 71 72 73 <para os="m1">Prepare <filename>ppl-config</filename> to be wrapped by 74 the multiarch wrapper:</para> 75 76 <screen os="m2"><userinput>mv -v /usr/bin/ppl-config{,-32}</userinput></screen> 77 78 <para os="j">One of the headers installed by PPL is architecture specific. Programs compiled as 32bit will require the header provided by the 32bit installation of PPL. The same applies for 64bit programs. Move the header so a wrapper can be put in its place later:</para> 79 80 <screen os="k"><userinput>mv -v /usr/include/ppl{,-32}.hh</userinput></screen> 81 82 72 83 </sect2> 73 84 -
BOOK/patches.ent
r4261659 r6fcaede 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 <!ENTITY patches-root "http:// svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/">3 <!ENTITY patches-root "http://cross-lfs.org/files/packages/svn/"> 4 4 5 5 <!-- Start of Common Patches --> -
BOOK/temp-system/64/cloog-ppl.xml
r4261659 r6fcaede 38 38 39 39 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 40 --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-bits=gmp \41 --enable-shared --with-gmp=/tools --with-ppl=/tools</userinput></screen>40 --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-bits=gmp \ 41 --enable-shared --with-gmp=/tools --with-ppl=/tools</userinput></screen> 42 42 43 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/64/gcc.xml
r4261659 r6fcaede 123 123 xpointer="xpointer(//*[@os='cp'])"/> 124 124 125 <para os="dp">Now we copy the files that are placed in <filename class="directory">/tools/lib64126 </filename> to <filename class="directory">/tools/lib</filename>.127 We also delete the /tools/lib64 directory:</para>128 129 <screen os="dq"><userinput>cp -va /tools/lib64/* /tools/lib130 rm -rvf /tools/lib64</userinput></screen>131 132 125 </sect2> 133 126 -
BOOK/temp-system/common/cloog-ppl.xml
r4261659 r6fcaede 36 36 37 37 <screen os="b"><userinput>./configure --prefix=/tools \ 38 --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-bits=gmp \39 --with-ppl=/tools --with-gmp=/tools</userinput></screen>38 --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-bits=gmp \ 39 --with-ppl=/tools --with-gmp=/tools</userinput></screen> 40 40 41 41 <para os="c">Compile the package:</para> -
BOOK/temp-system/common/gcc.xml
r4261659 r6fcaede 98 98 </variablelist> 99 99 100 <para os="ts1">When gcc was configured it was told to find MPFR, GMP, PPL, 101 and CLooG-PPL in /tools. However, when compiling gcc uses these same values 102 for building native helper programs that run on the host. The following sed 103 will change those values to look in cross-tools for the native programs 104 only:</para> 100 <para os="ts1">The following will prevent GCC from looking in the wrong 101 directories for headers and libraries:</para> 105 102 106 103 <screen os="ts2"><userinput>cp Makefile{,.orig} -
BOOK/temp-system/common/ppl.xml
r4261659 r6fcaede 37 37 <screen os="b"><userinput>./configure --prefix=/tools \ 38 38 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 39 40 39 --enable-interfaces="c,cxx" \ 40 --with-libgmp-prefix=/tools --with-libgmpxx-prefix=/tools</userinput></screen> 41 41 42 42 <para os="bp1">PPL doesn't check to see if GMP was compiled with support for -
BOOK/temp-system/multilib/ppl.xml
r4261659 r6fcaede 39 39 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 40 40 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 41 42 41 --enable-interfaces="c,cxx" --libdir=/tools/lib64 --enable-shared \ 42 --with-libgmp-prefix=/tools --with-libgmpxx-prefix=/tools</userinput></screen> 43 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/ppc64-chapter.xml
r4261659 r6fcaede 38 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/texinfo.xml"/> 39 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/vim.xml"/> 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/xz.xml"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/choose.xml"/> 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/xz.xml"/>42 42 43 43 </chapter>
Note:
See TracChangeset
for help on using the changeset viewer.