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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c71b3a7 was 8672967, checked in by Jim Gifford <clfs@…>, 19 years ago

r899@server (orig r897): jim | 2005-12-14 21:23:24 -0800

r1069@server: jim | 2005-12-14 21:21:50 -0800
Changing how we set LFS_HOST, LFS_TARGET, and LFS_TARGET32


  • Property mode set to 100644
File size: 2.2 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="f"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
25echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc
26echo export GCCTARGET=\""${GCCTARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
27
28 <para os="d">The following table gives the entires for different Sparc 64 capable
29 processors. Pick the processor that matches your system.</para>
30
31 <table os="e">
32 <title>List of architectures, target triplets, and recommended book</title>
33 <tgroup cols="2" align="center">
34 <colspec colname="Processor"/>
35 <colspec colname="Build32"/>
36 <colspec colname="Build64"/>
37 <colspec colname="GCC"/>
38 <thead>
39 <row>
40 <entry>Processor</entry>
41 <entry>BUILD32</entry>
42 <entry>BUILD64</entry>
43 <entry>GCCTARGET</entry>
44 </row>
45 </thead>
46 <tbody>
47 <row>
48 <entry>Ultrasparc and Ultrasparc2</entry>
49 <entry>-m32 -mcpu=ultrasparc -mtune=ultrasparc</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>-m32 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
56 <entry>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
57 <entry>-mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
58 </row>
59 </tbody>
60 </tgroup>
61 </table>
62
63</sect1>
64
Note: See TracBrowser for help on using the repository browser.