source: BOOK/cross-tools/sparc64/flags.xml@ f25ed36

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f25ed36 was dabbced, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Change the XInclude schema path from 2003 to 2001. 2003 is depreciated
according to w3.org and 2001 should be used instead.

  • 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.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-cross-tools-flags">
9 <title>Build Flags</title>
10 <?dbhtml filename="flags.html"?>
11
12 <para os="a">We will need to setup target specific flags for the compiler
13 and linkers. You can choose the appropriate BUILD32 and BUILD64
14 from the table at the bottom of the page.</para>
15
16<screen os="b"><userinput>export BUILD32="<replaceable>[BUILD32 entries]</replaceable>"
17export BUILD64="<replaceable>[BUILD64 entries]</replaceable>"
18export GCCTARGET="<replaceable>[GCCTARGET entries]</replaceable>"</userinput></screen>
19
20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
21 href="../multilib/flags.xml"
22 xpointer="xpointer(//*[@os='c'])"/>
23
24<screen os="d"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
25export BUILD32="${BUILD32}"
26export BUILD64="${BUILD64}"
27export GCCTARGET="${GCCTARGET}"
28EOF</userinput></screen>
29
30 <para os="e">The following table gives the entires for different Sparc 64 capable
31 processors. Pick the processor that matches your system. Note: GCC settings are
32 only needed in the early sections of the book, and will not be used in the final-system
33 builds.</para>
34
35 <table os="f">
36 <title>List of 32-Bit settings, 64-Bit Build settings, and GCC setting</title>
37 <?dbfo table-width="7in" ?>
38
39 <tgroup cols="4">
40
41 <colspec colnum="1" colwidth="1in" colname="Processor"/>
42 <colspec colnum="2" colwidth="2in" colname="Build32"/>
43 <colspec colnum="3" colwidth="2in" colname="Build64"/>
44 <colspec colnum="4" colwidth="2in" colname="GCC"/>
45
46 <thead>
47 <row>
48 <entry>Processor</entry>
49 <entry>BUILD32</entry>
50 <entry>BUILD64</entry>
51 <entry>GCCTARGET</entry>
52 </row>
53 </thead>
54
55 <tbody>
56 <row>
57 <entry>Ultrasparc and Ultrasparc2</entry>
58 <entry>-m32 -mcpu=ultrasparc -mtune=ultrasparc</entry>
59 <entry>-m64 -mcpu=ultrasparc -mtune=ultrasparc</entry>
60 <entry>-mcpu=ultrasparc -mtune=ultrasparc</entry>
61 </row>
62 <row>
63 <entry>Ultrasparc3</entry>
64 <entry>-m32 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
65 <entry>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
66 <entry>-mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
67 </row>
68 </tbody>
69
70 </tgroup>
71
72 </table>
73
74</sect1>
Note: See TracBrowser for help on using the repository browser.