source: clfs-embedded/BOOK/cross-tools/mips/variables.xml@ f03c1f1

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

Update Variables table for MIPS

  • Property mode set to 100644
File size: 2.7 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-variables">
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/2003/XInclude"
16 href="../x86/variables.xml"
17 xpointer="xpointer(//*[@os='a'])"/>
18
19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
20 href="../x86/variables.xml"
21 xpointer="xpointer(//*[@os='b'])"/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../x86/variables.xml"
25 xpointer="xpointer(//*[@os='c'])"/>
26
27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28 href="../x86/variables.xml"
29 xpointer="xpointer(//*[@os='d'])"/>
30
31 <para os="d1">Now you will need to set the MIPS LEVEL. This determines how your
32uClibc is built. There are currently 5 MIPS ISA Levels. To keep things simple
33we are only using 2. For more information, go to
34<ulink url="http://www.linux-mips.org/wiki/Instruction_Set_Architecture"/></para>
35
36<screen os="d2"><userinput>export CLFS_MIPS_LEVEL="{mips level}"</userinput></screen>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../x86/variables.xml"
40 xpointer="xpointer(//*[@os='e'])"/>
41
42<screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
43echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
44echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" &gt;&gt; ~/.bashrc</userinput></screen>
45
46 <table os="g">
47 <title>Processor Type and Target Triplets</title>
48 <tgroup cols="2" align="center">
49 <colspec colname="Processor"/>
50 <colspec colname="Triplet"/>
51 <colspec colname="MIPS Level"/>
52 <thead>
53 <row>
54 <entry>Processor</entry>
55 <entry>Target Triplet</entry>
56 <entry>MIPS Level</entry>
57 </row>
58 </thead>
59 <tbody>
60 <row>
61 <entry>MIPS 32 bits Little Endian</entry>
62 <entry>mipsel-unknown-linux-uclibc</entry>
63 <entry>1</entry>
64 </row>
65 <row>
66 <entry>MIPS 32 bits Big Endian</entry>
67 <entry>mips-unknown-linux-uclibc</entry>
68 <entry>1</entry>
69 </row>
70 <row>
71 <entry>MIPS 64 bits Little Endian</entry>
72 <entry>mips64el-unknown-linux-uclibc</entry>
73 <entry>3</entry>
74 </row>
75 <row>
76 <entry>MIPS 64 bits Big Endian</entry>
77 <entry>mips64-unknown-linux-uclibc</entry>
78 <entry>3</entry>
79 </row>
80 </tbody>
81 </tgroup>
82 </table>
83
84</sect1>
Note: See TracBrowser for help on using the repository browser.