source: BOOK/final-system/sparc64/adjusting.xml@ 64105d1

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 64105d1 was 3f8be484, 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.6 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-system-adjusting">
9 <?dbhtml filename="adjusting.html"?>
10
11 <title>Adjusting the Toolchain</title>
12
13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
14 href="../sparc/adjusting.xml"
15 xpointer="xpointer(//*[@os='a'])"/>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../sparc/adjusting.xml"
19 xpointer="xpointer(//*[@os='b'])"/>
20
21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
22 href="../x86_64/adjusting.xml"
23 xpointer="xpointer(//*[@os='c'])"/>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../sparc/adjusting.xml"
27 xpointer="xpointer(//*[@os='d'])"/>
28
29 <para>Note that <filename class="directory">/lib</filename> or
30 <filename class="directory">/lib64</filename> is now the prefix
31 of our dynamic linker.</para>
32
33 <caution>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../sparc/adjusting.xml"
37 xpointer="xpointer(//*[@os='f'])"/>
38
39 <para>For 32 bit ABI:</para>
40
41<screen><userinput>echo 'main(){}' &gt; dummy.c
42cc ${BUILD32} dummy.c
43readelf -l a.out | grep ': /lib'</userinput></screen>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../sparc/adjusting.xml"
47 xpointer="xpointer(//*[@os='h'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../sparc/adjusting.xml"
51 xpointer="xpointer(//*[@os='i'])"/>
52
53 <para>For 64 bit ABI:</para>
54
55<screen><userinput>echo 'main(){}' &gt; dummy.c
56cc ${BUILD64} dummy.c
57readelf -l a.out | grep ': /lib'</userinput></screen>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../sparc/adjusting.xml"
61 xpointer="xpointer(//*[@os='h'])"/>
62
63<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-sparc-64.so.2]</computeroutput></screen>
64
65 <para>Note that <filename class="directory">/lib</filename> or
66 <filename class="directory">/lib64</filename> is now the prefix
67 of our dynamic linker.</para>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../sparc/adjusting.xml"
71 xpointer="xpointer(//*[@os='k'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../sparc/adjusting.xml"
75 xpointer="xpointer(//*[@os='l'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../sparc/adjusting.xml"
79 xpointer="xpointer(//*[@os='m'])"/>
80
81 </caution>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.