source: cross-tools/sparc64-64/flags.xml @ bf8c11f

Last change on this file since bf8c11f was bf8c11f, checked in by Jim Gifford <clfs@…>, 18 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 1.9 KB
Line 
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  <para>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><userinput>export BUILD64="[BUILD64 entries]"
17export GCCTARGET=[GCCTARGET entries]"</userinput></screen>
18
19  <para>Lets add the build flags to <filename>~/.bashrc</filename> to
20  prevent issues if we stop and come back later.</para>
21
22<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc
23echo export GCCTARGET=\""${GCCTARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
24
25  <para>The following table gives the entires for different Sparc 64 capable
26  processors. Pick the processor that matches your system.</para>
27
28  <table>
29    <title>List of architectures, target triplets, and recommended book</title>
30    <tgroup cols="2" align="center">
31      <colspec colname="Processor"/>
32      <colspec colname="Build64"/>
33      <colspec colname="GCC"/>
34      <thead>
35        <row>
36          <entry>Processor</entry>
37          <entry>BUILD64</entry>
38          <entry>GCCTARGET</entry>
39        </row>
40      </thead>
41      <tbody>
42        <row>
43          <entry>Ultrasparc and Ultrasparc2</entry>
44          <entry>-m64 -mcpu=ultrasparc -mtune=ultrasparc</entry>
45          <entry>-mcpu=ultrasparc -mtune=ultrasparc</entry>
46        </row>
47        <row>
48          <entry>Ultrasparc3</entry>
49          <entry>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
50          <entry>-mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
51        </row>
52      </tbody>
53    </tgroup>
54  </table>
55
56</sect1>
57
Note: See TracBrowser for help on using the repository browser.