# PPL-&ppl-version; 64 Bit

## Installation of PPL

    CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD64}" \
    CXX="g++ -isystem /usr/include ${BUILD64}" \
    LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64 ${BUILD64}" \
      ./configure --prefix=/usr --libdir=/usr/lib64 \
        --enable-shared --disable-optimization

Prepare `ppl-config` to be wrapped by the multiarch wrapper and then wrap it:

    mv -v /usr/bin/ppl-config{,-64}
    ln -svf multiarch_wrapper /usr/bin/ppl-config

Create the 64bit header file:

    mv -v /usr/include/ppl{,-64}.hh

Finally, create a stub header in the place of the originals:

    cat > /usr/include/ppl.hh << "EOF"
    /* ppl.hh - Stub Header  */
    #ifndef __STUB__PPL_HH__
    #define __STUB__PPL_HH__

    #if defined(__x86_64__) || \
        defined(__sparc64__) || \
        defined(__arch64__) || \
        defined(__powerpc64__) || \
        defined (__s390x__)
    # include "ppl-64.h"
    #else
    # include "ppl-32.h"
    #endif

    #endif /* __STUB__PPL_HH__ */
    EOF