[bf8c11f] | 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-cross-tools-flags">
|
---|
| 9 | <title>Build Flags</title>
|
---|
| 10 | <?dbhtml filename="flags.html"?>
|
---|
| 11 |
|
---|
[f32f537] | 12 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 13 | href="../x86_64-64/flags.xml"
|
---|
| 14 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
[bf8c11f] | 15 |
|
---|
[f32f537] | 16 | <screen os="b"><userinput>export BUILD64="[BUILD64 entries]"
|
---|
[ca8f6bb] | 17 | export GCCTARGET="[GCCTARGET entries]"</userinput></screen>
|
---|
[bf8c11f] | 18 |
|
---|
[f32f537] | 19 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 20 | href="../x86_64-64/flags.xml"
|
---|
| 21 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
[bf8c11f] | 22 |
|
---|
[f32f537] | 23 | <screen os="d"><userinput>echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc
|
---|
[bf8c11f] | 24 | echo export GCCTARGET=\""${GCCTARGET}\"" >> ~/.bashrc</userinput></screen>
|
---|
| 25 |
|
---|
[f32f537] | 26 | <para os="e">The following table gives the entires for different Sparc 64 capable
|
---|
[bf8c11f] | 27 | processors. Pick the processor that matches your system.</para>
|
---|
| 28 |
|
---|
[f32f537] | 29 | <table os="f">
|
---|
[bf8c11f] | 30 | <title>List of architectures, target triplets, and recommended book</title>
|
---|
| 31 | <tgroup cols="2" align="center">
|
---|
| 32 | <colspec colname="Processor"/>
|
---|
| 33 | <colspec colname="Build64"/>
|
---|
| 34 | <colspec colname="GCC"/>
|
---|
| 35 | <thead>
|
---|
| 36 | <row>
|
---|
| 37 | <entry>Processor</entry>
|
---|
| 38 | <entry>BUILD64</entry>
|
---|
| 39 | <entry>GCCTARGET</entry>
|
---|
| 40 | </row>
|
---|
| 41 | </thead>
|
---|
| 42 | <tbody>
|
---|
| 43 | <row>
|
---|
| 44 | <entry>Ultrasparc and Ultrasparc2</entry>
|
---|
| 45 | <entry>-m64 -mcpu=ultrasparc -mtune=ultrasparc</entry>
|
---|
| 46 | <entry>-mcpu=ultrasparc -mtune=ultrasparc</entry>
|
---|
| 47 | </row>
|
---|
| 48 | <row>
|
---|
| 49 | <entry>Ultrasparc3</entry>
|
---|
| 50 | <entry>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
|
---|
| 51 | <entry>-mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
|
---|
| 52 | </row>
|
---|
| 53 | </tbody>
|
---|
| 54 | </tgroup>
|
---|
| 55 | </table>
|
---|
| 56 |
|
---|
| 57 | </sect1>
|
---|
| 58 |
|
---|