source: final-system/x86_64/linux-libc-headers.xml@ 6863182

Last change on this file since 6863182 was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[bf8c11f]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-x86_64-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
19 <sect2 role="package">
20 <title/>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="../x86/linux-libc-headers.xml"
24 xpointer="xpointer(//*[@role='package']/para[1])"/>
25
26 <segmentedlist>
27 <segtitle>&buildtime;</segtitle>
28 <segtitle>&diskspace;</segtitle>
29
30 <seglistitem>
31 <seg>Not checked yet</seg>
32 <seg>Not checked yet</seg>
33 </seglistitem>
34 </segmentedlist>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../x86/linux-libc-headers.xml"
38 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Linux-Libc-Headers</title>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../x86/linux-libc-headers.xml"
47 xpointer="xpointer(//*[@os='a'])"/>
48
49 <para os="aa">The following patch contains header stubs which link to the
50 proper header from either asm-i386 or asm-x86_64:</para>
51
52<screen os="ab"><userinput>patch -Np1 -i ../&linux-libc-headers-x86_64_biarch-patch;</userinput></screen>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../x86/linux-libc-headers.xml"
56 xpointer="xpointer(//*[@os='b'])"/>
57
58<screen><userinput>install -d /usr/include
59cp -R include/asm-i386 /usr/include/
60cp -R include/asm-x86_64 /usr/include/
61cp -R include/asm-x86_64-biarch /usr/include/asm
62cp -R include/linux /usr/include
63cp -R include/mtd /usr/include
64cp -R include/sound /usr/include
65cp -R include/scsi /usr/include</userinput></screen>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../x86/linux-libc-headers.xml"
69 xpointer="xpointer(//*[@os='c'])"/>
70
71<screen><userinput>chown -R root:root /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,sound,scsi}</userinput></screen>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../x86/linux-libc-headers.xml"
75 xpointer="xpointer(//*[@os='e'])"/>
76
77<screen><userinput>find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,sound,scsi} -type d -exec chmod 755 {} \;
78find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,sound,scsi} -type f -exec chmod 644 {} \;</userinput></screen>
79
80 </sect2>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../x86/linux-libc-headers.xml"
84 xpointer="xpointer(id('contents-linux-libc-headers'))"/>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.