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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c3b54fac was dabbced, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Change the XInclude schema path from 2003 to 2001. 2003 is depreciated
according to w3.org and 2001 should be used instead.

  • Property mode set to 100644
File size: 2.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"
[3f8be484]14 href="../mips/adjusting.xml"
15 xpointer="xpointer(//*[@os='a'])"/>
16
17<screen os="c"><userinput>gcc -dumpspecs | \
[8e931ad]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"
[3f8be484]25 href="../mips/adjusting.xml"
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
35 <para>It is imperative at this point to stop and ensure that
36 the basic functions (compiling and linking) of the adjusted toolchain
37 are working as expected. Since we are doing a 64 bit only build, we
38 will only test the 64 bit ABI. To do this, perform a sanity
39 check:</para>
40
[dabbced]41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]42 href="../mips/adjusting.xml"
43 xpointer="xpointer(//*[@os='g'])"/>
44
[dabbced]45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]46 href="../mips/adjusting.xml"
47 xpointer="xpointer(//*[@os='h'])"/>
48
[dabbced]49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]50 href="../mips/adjusting.xml"
51 xpointer="xpointer(//*[@os='i'])"/>
52
[dabbced]53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]54 href="../mips/adjusting.xml"
55 xpointer="xpointer(//*[@os='j'])"/>
56
[dabbced]57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]58 href="../mips/adjusting.xml"
59 xpointer="xpointer(//*[@os='k'])"/>
60
[dabbced]61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]62 href="../mips/adjusting.xml"
63 xpointer="xpointer(//*[@os='l'])"/>
64
[dabbced]65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]66 href="../mips/adjusting.xml"
67 xpointer="xpointer(//*[@os='m'])"/>
68
69 </caution>
70
71</sect1>
Note: See TracBrowser for help on using the repository browser.