source: BOOK/final-preps/sparc64-64/variables.xml@ d188053

systemd
Last change on this file since d188053 was 0666dec, checked in by Chris Staub <chris@…>, 11 years ago

Give more appropriate chapter name for variables pages

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[5585711]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
[0666dec]8<sect1 id="ch-final-preps-variables">
[5585711]9 <?dbhtml filename="variables.html"?>
10
11 <title>Build Variables</title>
12
13 <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
14
15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
16 href="../x86/variables.xml"
17 xpointer="xpointer(//*[@os='a'])"/>
18
19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
20 href="../x86/variables.xml"
21 xpointer="xpointer(//*[@os='b'])"/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
24 href="../x86/variables.xml"
25 xpointer="xpointer(//*[@os='c'])"/>
26
27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
28 href="../sparc64/variables.xml"
29 xpointer="xpointer(//*[@os='d'])"/>
30
31 <para os="g">We will need to setup target specific flags for the compiler
32 and linkers. You can choose the appropriate BUILD64 and GCCTARGET
33 from the table at the bottom of the page.</para>
34
35<screen os="h"><userinput>export BUILD64="<replaceable>[BUILD64 entries]</replaceable>"
36export GCCTARGET="<replaceable>[GCCTARGET entries]</replaceable>"</userinput></screen>
37
38 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
39
40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
41 href="../x86_64-64/variables.xml"
42 xpointer="xpointer(//*[@os='i'])"/>
43
44<screen os="j"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
45export CLFS_HOST="${CLFS_HOST}"
46export CLFS_TARGET="${CLFS_TARGET}"
47export BUILD64="${BUILD64}"
48export GCCTARGET="${GCCTARGET}"
49EOF</userinput></screen>
50
51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
52 href="../sparc64/variables.xml"
53 xpointer="xpointer(//*[@os='k'])"/>
54
55 <table os="l">
56 <title>List of architectures, target triplets, and recommended book</title>
57 <?dbfo table-width="7in" ?>
58
59 <tgroup cols="3">
60
61 <colspec colnum="1" colwidth="1in" colname="Processor"/>
62 <colspec colnum="2" colwidth="3.2in" colname="Build64"/>
63 <colspec colnum="3" colwidth="2.8in" colname="GCC"/>
64
65 <thead>
66 <row>
67 <entry>Processor</entry>
68 <entry>BUILD64</entry>
69 <entry>GCCTARGET</entry>
70 </row>
71 </thead>
72
73 <tbody>
74 <row>
75 <entry>Ultrasparc and Ultrasparc2</entry>
76 <entry>-m64 -mcpu=ultrasparc -mtune=ultrasparc</entry>
77 <entry>-mcpu=ultrasparc -mtune=ultrasparc</entry>
78 </row>
79 <row>
80 <entry>Ultrasparc3</entry>
81 <entry>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
82 <entry>-mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
83 </row>
84 </tbody>
85
86 </tgroup>
87
88 </table>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.