[e63113c] | 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 | |
---|
| 12 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 13 | href="../64/flags.xml" |
---|
| 14 | xpointer="xpointer(//*[@os='a'])"/> |
---|
| 15 | |
---|
| 16 | <screen os="b"><userinput>export BUILD64="[BUILD64 entries]" |
---|
| 17 | export GCCTARGET="[GCCTARGET entries]"</userinput></screen> |
---|
| 18 | |
---|
| 19 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 20 | href="../64/flags.xml" |
---|
| 21 | xpointer="xpointer(//*[@os='c'])"/> |
---|
| 22 | |
---|
| 23 | <screen os="d"><userinput>echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc |
---|
| 24 | echo export GCCTARGET=\""${GCCTARGET}\"" >> ~/.bashrc</userinput></screen> |
---|
| 25 | |
---|
| 26 | <para os="e">The following table gives the entires for different Sparc 64 capable |
---|
| 27 | processors. Pick the processor that matches your system.</para> |
---|
| 28 | |
---|
| 29 | <table os="f"> |
---|
| 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> |
---|
[d721c3d] | 43 | <row> |
---|
| 44 | <entry>Generic</entry> |
---|
| 45 | <entry>-m64 -mcpu=v9a</entry> |
---|
| 46 | <entry>-mcpu=v9a</entry> |
---|
| 47 | </row> |
---|
[e63113c] | 48 | <row> |
---|
| 49 | <entry>Ultrasparc and Ultrasparc2</entry> |
---|
| 50 | <entry>-m64 -mcpu=ultrasparc -mtune=ultrasparc</entry> |
---|
| 51 | <entry>-mcpu=ultrasparc -mtune=ultrasparc</entry> |
---|
| 52 | </row> |
---|
| 53 | <row> |
---|
| 54 | <entry>Ultrasparc3</entry> |
---|
| 55 | <entry>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry> |
---|
| 56 | <entry>-mcpu=ultrasparc3 -mtune=ultrasparc3</entry> |
---|
| 57 | </row> |
---|
| 58 | </tbody> |
---|
| 59 | </tgroup> |
---|
| 60 | </table> |
---|
| 61 | |
---|
| 62 | </sect1> |
---|
| 63 | |
---|