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 | \ |
---|
18 | perl -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;' > \ |
---|
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 | <para>It is imperative at this point to stop and ensure that |
---|
31 | the basic functions (compiling and linking) of the adjusted toolchain |
---|
32 | are working as expected. Since we are doing a 64 bit only build, we |
---|
33 | will only test the 64 bit ABI. To do this, perform a sanity |
---|
34 | check:</para> |
---|
35 | |
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
37 | href="../ppc/adjusting.xml" |
---|
38 | xpointer="xpointer(//*[@os='g'])"/> |
---|
39 | |
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
41 | href="../ppc/adjusting.xml" |
---|
42 | xpointer="xpointer(//*[@os='h'])"/> |
---|
43 | |
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
45 | href="../ppc/adjusting.xml" |
---|
46 | xpointer="xpointer(//*[@os='i'])"/> |
---|
47 | |
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
49 | href="../ppc/adjusting.xml" |
---|
50 | xpointer="xpointer(//*[@os='j'])"/> |
---|
51 | |
---|
52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
53 | href="../ppc/adjusting.xml" |
---|
54 | xpointer="xpointer(//*[@os='k'])"/> |
---|
55 | |
---|
56 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
57 | href="../ppc/adjusting.xml" |
---|
58 | xpointer="xpointer(//*[@os='l'])"/> |
---|
59 | |
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
61 | href="../ppc/adjusting.xml" |
---|
62 | xpointer="xpointer(//*[@os='m'])"/> |
---|
63 | |
---|
64 | </caution> |
---|
65 | |
---|
66 | </sect1> |
---|