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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 6bb43b3 was 6bb43b3, checked in by Jim Gifford <clfs@…>, 18 years ago

r788@server (orig r786): jim | 2005-12-01 12:07:35 -0800

r851@server: jim | 2005-12-01 12:07:08 -0800
Text updates from G. Moko. Thank You


  • Property mode set to 100644
File size: 3.0 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 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="[BUILD32 entries]"
17export BUILD64="[BUILD64 entries]"
18export GCCTARGET="[GCCTARGET entries]"</userinput></screen>
19
20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21   href="../x86_64/flags.xml"
22   xpointer="xpointer(//*[@os='c'])"/>
23
24<screen os="d"><userinput>export LFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
25
26   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27   href="../x86_64/flags.xml"
28   xpointer="xpointer(//*[@os='e'])"/>
29
30   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31   href="../x86_64/flags.xml"
32   xpointer="xpointer(//*[@os='f'])"/>
33
34   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35   href="../x86_64/flags.xml"
36   xpointer="xpointer(//*[@os='g'])"/>
37
38   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39   href="../x86_64/flags.xml"
40   xpointer="xpointer(//*[@os='h'])"/>
41
42   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43   href="../x86_64/flags.xml"
44   xpointer="xpointer(//*[@os='i'])"/>
45
46<screen os="j"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
47echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc
48echo export GCCTARGET=\""${GCCTARGET}\"" &gt;&gt; ~/.bashrc
49echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bashrc
50echo export LFS_HOST=\""${LFS_HOST}\"" &gt;&gt; ~/.bashrc</userinput></screen>
51
52  <para os="k">The following table gives the entires for different Sparc 64 capable
53  processors. Pick the processor that matches your system.</para>
54
55  <table os="l">
56    <title>List of architectures, target triplets, and recommended book</title>
57    <tgroup cols="2" align="center">
58      <colspec colname="Processor"/>
59      <colspec colname="Build32"/>
60      <colspec colname="Build64"/>
61      <colspec colname="GCC"/>
62      <thead>
63        <row>
64          <entry>Processor</entry>
65          <entry>BUILD32</entry>
66          <entry>BUILD64</entry>
67          <entry>GCCTARGET</entry>
68        </row>
69      </thead>
70      <tbody>
71        <row>
72          <entry>Ultrasparc and Ultrasparc2</entry>
73          <entry>-m32 -mcpu=ultrasparc -mtune=ultrasparc</entry>
74          <entry>-m64 -mcpu=ultrasparc -mtune=ultrasparc</entry>
75          <entry>-mcpu=ultrasparc -mtune=ultrasparc</entry>
76        </row>
77        <row>
78          <entry>Ultrasparc3</entry>
79          <entry>-m32 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
80          <entry>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
81          <entry>-mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
82        </row>
83      </tbody>
84    </tgroup>
85  </table>
86
87</sect1>
88
Note: See TracBrowser for help on using the repository browser.