Ignore:
Timestamp:
Jul 6, 2009, 3:35:49 PM (12 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
79e1de7
Parents:
fddcf74
Message:

Wrap the pl.hh header installed by ppl in the final system.

File:
1 edited

Legend:

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

    rfddcf74 r57e2e06  
    7070    xpointer="xpointer(//*[@os='i'])"/>
    7171
     72    <para os="j">Create the 64bit header file:</para>
     73
     74<screen os="k"><userinput>mv -v /usr/include/ppl{,-64}.hh</userinput></screen>
     75
     76    <para os="l">Finally, create a stub header in the place of the originals:</para>
     77
     78<screen os="m"><userinput>cat &gt; /usr/include/ppl.hh &lt;&lt; "EOF"
     79/* ppl.hh - Stub Header  */
     80#ifndef __STUB__PPL_HH__
     81#define __STUB__PPL_HH__
     82
     83#if defined(__x86_64__) || \
     84    defined(__sparc64__) || \
     85    defined(__arch64__) || \
     86    defined(__powerpc64__) || \
     87    defined (__s390x__)
     88# include "ppl-64.h"
     89#else
     90# include "ppl-32.h"
     91#endif
     92
     93#endif /* __STUB__PPL_HH__ */
     94EOF</userinput></screen>
     95
    7296  </sect2>
    7397
Note: See TracChangeset for help on using the changeset viewer.