[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
| 6 | %general-entities;
|
---|
| 7 | %patches-entities;
|
---|
| 8 | ]>
|
---|
| 9 |
|
---|
| 10 | <sect1 id="ch-system-linux-libc-headers" role="wrap">
|
---|
| 11 | <?dbhtml filename="linux-libc-headers.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>Linux-Libc-Headers-&linux-libc-headers-sparc64-version;</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-system-linux-libc-headers">
|
---|
| 16 | <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
|
---|
| 17 | </indexterm>
|
---|
| 18 |
|
---|
[0babf98] | 19 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 20 | href="../x86/linux-libc-headers.xml"
|
---|
| 21 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 22 |
|
---|
| 23 | <sect2 role="installation">
|
---|
| 24 | <title>Installation of Linux-Libc-Headers</title>
|
---|
| 25 |
|
---|
| 26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 27 | href="../x86/linux-libc-headers.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 29 |
|
---|
| 30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 31 | href="../sparc/linux-libc-headers.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
| 33 |
|
---|
| 34 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 35 | href="../sparc/linux-libc-headers.xml"
|
---|
| 36 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
| 37 |
|
---|
| 38 | <para os="ba">The following patch contains header stubs which link to the
|
---|
| 39 | proper header from either asm-sparc or asm-sparc64:</para>
|
---|
| 40 |
|
---|
| 41 | <screen os="bb"><userinput>patch -Np1 -i ../&linux-libc-headers-sparc_biarch-patch;</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 44 | href="../x86/linux-libc-headers.xml"
|
---|
| 45 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 46 |
|
---|
| 47 | <screen><userinput>install -d /usr/include
|
---|
| 48 | cp -R include/asm-sparc64 /usr/include/
|
---|
| 49 | cp -R include/asm-sparc /usr/include/
|
---|
| 50 | cp -R include/asm-sparc-biarch /usr/include/asm
|
---|
| 51 | cp -R include/linux /usr/include
|
---|
| 52 | cp -R include/mtd /usr/include
|
---|
| 53 | cp -R include/sound /usr/include
|
---|
| 54 | cp -R include/scsi /usr/include</userinput></screen>
|
---|
| 55 |
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="../x86/linux-libc-headers.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 59 |
|
---|
| 60 | <screen><userinput>chown -R root:root /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,sound,scsi}</userinput></screen>
|
---|
| 61 |
|
---|
| 62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 63 | href="../x86/linux-libc-headers.xml"
|
---|
| 64 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 65 |
|
---|
| 66 | <screen><userinput>find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,sound,scsi} -type d -exec chmod 755 {} \;
|
---|
| 67 | find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,sound,scsi} -type f -exec chmod 644 {} \;</userinput></screen>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 72 | href="../x86/linux-libc-headers.xml"
|
---|
| 73 | xpointer="xpointer(id('contents-linux-libc-headers'))"/>
|
---|
| 74 |
|
---|
| 75 | </sect1>
|
---|