source: cross-tools/x86_64/variables.xml@ 75e10d2

Last change on this file since 75e10d2 was 05806e8, 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: 1.4 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 <para os="c">Now we will set our Target Triplet:</para>
24
25<screen os="d"><userinput>export LFS_TARGET="x86_64-pc-linux-gnu"</userinput></screen>
26
27 <para os="m1">Now we will set our Target Triplet for 32 Bits:</para>
28
29<screen os="m2"><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
30
31 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../x86/variables.xml"
35 xpointer="xpointer(//*[@os='e'])"/>
36
37<screen os="f"><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" &gt;&gt; ~/.bashrc
38echo export LFS_TARGET=\""${LFS_TARGET}\"" &gt;&gt; ~/.bashrc
39echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bashrc</userinput></screen>
40
41</sect1>
Note: See TracBrowser for help on using the repository browser.