source: BOOK/final-system/mips64/adjusting.xml@ c1dcfc1

systemd
Last change on this file since c1dcfc1 was afe66b1, checked in by Chris Staub <chris@…>, 10 years ago

Remove some redundancy on toolchain adjustment pages

  • Property mode set to 100644
File size: 3.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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/2001/XInclude"
14 href="../ppc/adjusting.xml"
15 xpointer="xpointer(//*[@os='a'])"/>
16
17<screen os="c"><userinput>gcc -dumpspecs | \
18perl -p -e 's@/tools/lib/ld@/lib/ld@g;' \
19 -e 's@/tools/lib32/ld@/lib32/ld@g;' \
20 -e 's@/tools/lib64/ld@/lib64/ld@g;' \
21 -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' &gt; \
22 $(dirname $(gcc --print-libgcc-file-name))/specs</userinput></screen>
23
24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
25 href="../ppc/adjusting.xml"
26 xpointer="xpointer(//*[@os='d'])"/>
27
28 <caution>
29
30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
31 href="../ppc/adjusting.xml"
32 xpointer="xpointer(//*[@os='f'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
35 href="../multilib/adjusting.xml"
36 xpointer="xpointer(//*[@os='m2'])"/>
37
38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
39 href="../multilib/adjusting.xml"
40 xpointer="xpointer(//*[@os='m3'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
43 href="../ppc/adjusting.xml"
44 xpointer="xpointer(//*[@os='h'])"/>
45
46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
47 href="../ppc/adjusting.xml"
48 xpointer="xpointer(//*[@os='i'])"/>
49
50 <para>For N32 ABI:</para>
51
52<screen><userinput>echo 'main(){}' &gt; dummy.c
53gcc ${BUILDN32} dummy.c
54readelf -l a.out | grep ': /lib'</userinput></screen>
55
56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
57 href="../ppc/adjusting.xml"
58 xpointer="xpointer(//*[@os='h'])"/>
59
60<screen><computeroutput>[Requesting program interpreter: /lib32/ld.so.1]</computeroutput></screen>
61
62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
63 href="../multilib/adjusting.xml"
64 xpointer="xpointer(//*[@os='m4'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
67 href="../multilib/adjusting.xml"
68 xpointer="xpointer(//*[@os='m5'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
71 href="../ppc/adjusting.xml"
72 xpointer="xpointer(//*[@os='h'])"/>
73
74<screen><computeroutput>[Requesting program interpreter: /lib64/ld.so.1]</computeroutput></screen>
75
76 <para>Note that <filename class="directory">/lib</filename>,
77 <filename class="directory">/lib32</filename> or
78 <filename class="directory">/lib64</filename> is now the prefix
79 of our dynamic linker.</para>
80
81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
82 href="../ppc/adjusting.xml"
83 xpointer="xpointer(//*[@os='k'])"/>
84
85 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
86 href="../ppc/adjusting.xml"
87 xpointer="xpointer(//*[@os='l'])"/>
88
89 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
90 href="../ppc/adjusting.xml"
91 xpointer="xpointer(//*[@os='m'])"/>
92
93 </caution>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.