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

Last change on this file since ae582f6 was 9dc5852, checked in by Maarten Lankhorst <m.b.lankhorst@…>, 16 years ago

Get rid of CLFS_HOST

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