source: BOOK/chroot/sparc64/flags.xml@ 384c06d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 384c06d was 32b4399, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Changed the default CLFS_TARGET32 for sparc multilib to sparcv9-unknown-linux-gnu.

  • 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.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
8<sect1 id="ch-chroot-flags">
9 <?dbhtml filename="flags.html"?>
10
11 <title>Build Flags</title>
12
13 <para>We will need to setup target specific flags for the compiler
14 and linkers.</para>
15
16<screen><userinput>export BUILD32="[BUILD32 entries]"
17export BUILD64="[BUILD64 entries]"</userinput></screen>
18
19 <para>You will need to set your host target triplet for 32 bit:</para>
20
21<screen><userinput>export CLFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
22
23 <para>To prevent errors when you come back to your build, we will export these
24 variables to prevent any build issues in the future:</para>
25
26<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
27echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
28echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../../cross-tools/sparc64/flags.xml"
32 xpointer="xpointer(//*[@os='e'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../../cross-tools/sparc64/flags.xml"
36 xpointer="xpointer(//*[@os='f'])"/>
37
38</sect1>
Note: See TracBrowser for help on using the repository browser.