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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c3cde4ba was aa18ac0, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Updated trunk book sources to use DocBook-XML DTD 4.5.

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[d767eb3]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[d767eb3]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\
[07114c98]37 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
[d767eb3]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.