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

clfs-3.0.0-systemd systemd
Last change on this file since 5ac1c94 was 3c35168, checked in by Chris Staub <chris@…>, 11 years ago

Remove more unneeded files

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