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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 3f8be484 was 3f8be484, checked in by Jim Gifford <clfs@…>, 18 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.5 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="../mips/adjusting.xml"
15  xpointer="xpointer(//*[@os='a'])"/>
16
17  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18  href="../mips/adjusting.xml"
19  xpointer="xpointer(//*[@os='b'])"/>
20
21<screen os="c"><userinput>gcc -dumpspecs | \
22perl -pi -e 's@/tools/lib/ld@/lib/ld@g;' \
23     -e 's@/tools/lib32/ld@/lib32/ld@g;' \
24     -e 's@/tools/lib64/ld@/lib64/ld@g;' \
25     -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' > \
26     `dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen>
27
28  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29  href="../mips/adjusting.xml"
30  xpointer="xpointer(//*[@os='d'])"/>
31
32  <para>Note that <filename class="directory">/lib</filename>,
33  <filename class="directory">/lib32</filename>, or
34  <filename class="directory">/lib64</filename> is now the prefix
35  of our dynamic linker.</para>
36
37  <caution>
38
39    <para>It is imperative at this point to stop and ensure that
40    the basic functions (compiling and linking) of the adjusted toolchain
41    are working as expected. Since we are doing a 64 bit only build, we
42    will only test the 64 bit ABI. To do this, perform a sanity
43    check:</para>
44
45    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46    href="../mips/adjusting.xml"
47    xpointer="xpointer(//*[@os='g'])"/>
48
49    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50    href="../mips/adjusting.xml"
51    xpointer="xpointer(//*[@os='h'])"/>
52
53    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54    href="../mips/adjusting.xml"
55    xpointer="xpointer(//*[@os='i'])"/>
56
57    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58    href="../mips/adjusting.xml"
59    xpointer="xpointer(//*[@os='j'])"/>
60
61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62    href="../mips/adjusting.xml"
63    xpointer="xpointer(//*[@os='k'])"/>
64
65    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66    href="../mips/adjusting.xml"
67    xpointer="xpointer(//*[@os='l'])"/>
68
69    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70    href="../mips/adjusting.xml"
71    xpointer="xpointer(//*[@os='m'])"/>
72
73  </caution>
74
75</sect1>
Note: See TracBrowser for help on using the repository browser.