source: cross-tools/sparc64/flags.xml@ 2d4d1448

Last change on this file since 2d4d1448 was f32f537, checked in by Jim Gifford <clfs@…>, 19 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
RevLine 
[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 <para os="a">We will need to setup target specific flags for the compiler
[bf8c11f]13 and linkers. You can choose the appropriate BUILD32 and BUILD64
14 from the table at the bottom of the page.</para>
15
[f32f537]16<screen os="b"><userinput>export BUILD32="[BUILD32 entries]"
[bf8c11f]17export BUILD64="[BUILD64 entries]"
[ca8f6bb]18export GCCTARGET="[GCCTARGET entries]"</userinput></screen>
[bf8c11f]19
[f32f537]20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21 href="../x86_64/flags.xml"
22 xpointer="xpointer(//*[@os='c'])"/>
[bf8c11f]23
[f32f537]24<screen os="d"><userinput>export LFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
[bf8c11f]25
[f32f537]26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../x86_64/flags.xml"
28 xpointer="xpointer(//*[@os='e'])"/>
[3dcb90f]29
[f32f537]30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../x86_64/flags.xml"
32 xpointer="xpointer(//*[@os='f'])"/>
[bf8c11f]33
[f32f537]34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../x86_64/flags.xml"
36 xpointer="xpointer(//*[@os='g'])"/>
[bf8c11f]37
[f32f537]38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../x86_64/flags.xml"
40 xpointer="xpointer(//*[@os='h'])"/>
[bf8c11f]41
[f32f537]42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../x86_64/flags.xml"
44 xpointer="xpointer(//*[@os='i'])"/>
[bf8c11f]45
[f32f537]46<screen os="j"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
[bf8c11f]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
[f32f537]52 <para os="k">The following table gives the entires for different Sparc 64 capable
[bf8c11f]53 processors. Pick the processor that matches your system.</para>
54
[f32f537]55 <table os="l">
[bf8c11f]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.