source: chroot/mips64/flags.xml@ 5c05e8f

Last change on this file since 5c05e8f was 01c697b, checked in by Chris Staub <chris@…>, 18 years ago

Missed one backtick change

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[bf8c11f]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
[59c6fc8]8<sect1 id="ch-chroot-flags">
[bf8c11f]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="-mabi=32"
17export BUILDN32="-mabi=n32"
18export BUILD64="-mabi=64"</userinput></screen>
19
20 <para>You will need to set your host target triplet for o32 bit:</para>
21
[01c697b]22<screen><userinput>export CLFS_TARGET32="$(echo ${MACH_TYPE}| sed -e 's/64//g')"</userinput></screen>
[bf8c11f]23
24 <para>To prevent errors when you come back to your build, we will export these
25 variables to prevent any build issues in the future:</para>
26
27<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
28echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ~/.bash_profile
29echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
[9cb6b64]30echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
[bf8c11f]31
32</sect1>
Note: See TracBrowser for help on using the repository browser.