[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 | \
|
---|
[8e931ad] | 18 | perl -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;' > \
|
---|
[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 | <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 |
|
---|
[dabbced] | 36 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3c35168] | 37 | href="../ppc/adjusting.xml"
|
---|
[3f8be484] | 38 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 39 |
|
---|
[dabbced] | 40 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3c35168] | 41 | href="../ppc/adjusting.xml"
|
---|
[3f8be484] | 42 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 43 |
|
---|
[dabbced] | 44 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3c35168] | 45 | href="../ppc/adjusting.xml"
|
---|
[3f8be484] | 46 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 47 |
|
---|
[dabbced] | 48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3c35168] | 49 | href="../ppc/adjusting.xml"
|
---|
[3f8be484] | 50 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 51 |
|
---|
[dabbced] | 52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3c35168] | 53 | href="../ppc/adjusting.xml"
|
---|
[3f8be484] | 54 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 55 |
|
---|
[dabbced] | 56 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3c35168] | 57 | href="../ppc/adjusting.xml"
|
---|
[3f8be484] | 58 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 59 |
|
---|
[dabbced] | 60 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3c35168] | 61 | href="../ppc/adjusting.xml"
|
---|
[3f8be484] | 62 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 63 |
|
---|
| 64 | </caution>
|
---|
| 65 |
|
---|
| 66 | </sect1>
|
---|