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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.