source: BOOK/boot/ppc/mktemp.xml @ d767eb3

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since d767eb3 was d767eb3, checked in by Jim Gifford <clfs@…>, 15 years ago

r3870@server (orig r1744): ken | 2006-06-08 15:31:32 -0700
Flesh-out chapter 7 for ppc.

  • Property mode set to 100644
File size: 2.0 KB
Line 
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  %general-entities;
6]>
7
8<sect1 id="ch-boot-mktemp" role="wrap">
9  <?dbhtml filename="mktemp.html"?>
10
11  <title>Mktemp-&mktemp-version;</title>
12
13  <indexterm zone="ch-boot-mktemp">
14    <primary sortas="a-Mktemp">Mktemp</primary>
15    <secondary>boot</secondary>
16  </indexterm>
17
18  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19  href="../../final-system/common/mktemp.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of Mktemp</title>
24
25    <para os="a">Mktemp will try to pass the <literal>-s</literal> switch to
26    <command>install</command> to strip the binaries. This will not work when
27    cross compiling, so run the following commands to remove this:</para>
28
29<screen os="b"><userinput>cp -v Makefile.in{,.orig}
30sed  's/\(0555 \)-s /\1/' Makefile.in.orig >Makefile.in</userinput></screen>
31
32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33    href="../../final-system/common/mktemp.xml"
34    xpointer="xpointer(//*[@os='c'])"/>
35
36<screen os="e"><userinput>CC="${CC}" ./configure --prefix=/tools --with-libc\
37    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
38
39    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40    href="../../final-system/common/mktemp.xml"
41    xpointer="xpointer(//*[@os='f'])"/>
42
43    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44    href="../../final-system/common/mktemp.xml"
45    xpointer="xpointer(//*[@os='g'])"/>
46
47    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48    href="../../final-system/common/mktemp.xml"
49    xpointer="xpointer(//*[@os='i'])"/>
50
51<screen><userinput>make install</userinput></screen>
52
53  </sect2>
54
55  <sect2 role="content">
56    <title/>
57
58    <para>Details on this package are located in <xref linkend="contents-mktemp" role="."/></para>
59
60  </sect2>
61
62</sect1>
Note: See TracBrowser for help on using the repository browser.