source: BOOK/chroot/sparc64/flags.xml@ d1d0c9d

clfs-3.0.0-sysvinit sysvinit
Last change on this file since d1d0c9d was 01817d3, checked in by Chris Staub <chris@…>, 10 years ago

Merged Build Flags pages with Build Variables, and moved those to final-preps

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[88acd8a]8<sect1 id="ch-chroot-flags">
[3f8be484]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
[7fc909b]16<screen><userinput>export BUILD32="[BUILD32 entries]"
[32b4399]17export BUILD64="[BUILD64 entries]"</userinput></screen>
[3f8be484]18
19 <para>You will need to set your host target triplet for 32 bit:</para>
20
[07114c98]21<screen><userinput>export CLFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
[3f8be484]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
[c63dde1]26<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
27export BUILD32="${BUILD32}"
28export BUILD64="${BUILD64}"
29export CLFS_TARGET32="${CLFS_TARGET32}"
30EOF</userinput></screen>
[3f8be484]31
[dabbced]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[01817d3]33 href="../../final-preps/sparc64/variables.xml"
34 xpointer="xpointer(//*[@os='k'])"/>
[fbf24b4]35
[dabbced]36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[01817d3]37 href="../../final-preps/sparc64/variables.xml"
38 xpointer="xpointer(//*[@os='l'])"/>
[7fc909b]39
[3f8be484]40</sect1>
Note: See TracBrowser for help on using the repository browser.