Ignore:
Timestamp:
Jul 7, 2009, 8:49:42 AM (15 years ago)
Author:
Jim Gifford <clfs@…>
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.
Message:

Merge branch 'master' of git@…:cross-lfs

Location:
BOOK/final-system/multilib
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/multilib/cloog-ppl-64bit.xml

    r4261659 r6fcaede  
    3838<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD64}" \
    3939    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>
    4242
    4343    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/cloog-ppl-n32.xml

    r4261659 r6fcaede  
    3737    xpointer="xpointer(//*[@os='a'])"/>
    3838
    39 <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILDN32}" \
     39<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILDM32}" \
    4040    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>
    4343
    4444    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/cloog-ppl.xml

    r4261659 r6fcaede  
    3939<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD32}" \
    4040    LDFLAGS="-Wl,-rpath-link,/lib ${BUILD32}" ./configure --prefix=/usr \
    41         --host=${CLFS_TARGET32} --enable-shared \
    42     --with-gmp=/usr --with-ppl=/usr</userinput></screen>
     41    --host=${CLFS_TARGET32} --enable-shared \
     42    --with-gmp --with-ppl</userinput></screen>
    4343
    4444    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/iproute2.xml

    r4261659 r6fcaede  
    3838    xpointer="xpointer(//*[@os='a'])"/>
    3939
    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 \
    4141    DOCDIR=/usr/share/doc/iproute2 MANDIR=/usr/share/man</userinput></screen>
    4242
     
    5353    xpointer="xpointer(//*[@os='e'])"/>
    5454
    55 <screen os="f"><userinput>make LIBDIR=/usr/lib64 \
     55<screen os="f"><userinput>make DESTDIR= LIBDIR=/usr/lib64 \
    5656    DOCDIR=/usr/share/doc/iproute2 \
    5757    MANDIR=/usr/share/man install</userinput></screen>
  • BOOK/final-system/multilib/ppl-64bit.xml

    r4261659 r6fcaede  
    3636    xpointer="xpointer(//*[@os='a'])"/>
    3737
    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>
    4243
    4344    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6970    xpointer="xpointer(//*[@os='i'])"/>
    7071
     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}
     76ln -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 &gt; /usr/include/ppl.hh &lt;&lt; "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__ */
     100EOF</userinput></screen>
     101
    71102  </sect2>
    72103
  • BOOK/final-system/multilib/ppl-n32.xml

    r4261659 r6fcaede  
    3737    xpointer="xpointer(//*[@os='a'])"/>
    3838
    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>
    4344
    4445    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7071    xpointer="xpointer(//*[@os='i'])"/>
    7172
     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
    7283  </sect2>
    7384
  • BOOK/final-system/multilib/ppl.xml

    r4261659 r6fcaede  
    3737    xpointer="xpointer(//*[@os='a'])"/>
    3838
    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}" \
    4041    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>
    4344
    4445    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7071    xpointer="xpointer(//*[@os='i'])"/>
    7172
     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
    7283  </sect2>
    7384
Note: See TracChangeset for help on using the changeset viewer.