source: BOOK/boot/ppc/mktemp.xml@ 07114c98

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 07114c98 was 07114c98, checked in by Jim Gifford <clfs@…>, 18 years ago

r4209@server: jim | 2006-07-01 12:46:18 -0700
Updated variables -

LFS_TARGET is now CLFS_TARGET
LFS_HOST is now CLFS_HOST
LFS_TARGET32 is now CLFS_TARGET32
LFS is now CLFS
/mnt/lfs is now /mnt/clfs


  • 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=${CLFS_HOST} --host=${CLFS_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.