source: cross-tools/multilib/flags.xml@ d0ed88e8

Last change on this file since d0ed88e8 was 6a3c4ef, checked in by Chris Staub <chris@…>, 18 years ago

Text fixes in multilib flags page

  • Property mode set to 100644
File size: 842 bytes
RevLine 
[fcb8a924]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-flags">
9 <?dbhtml filename="flags.html"?>
10
11 <title>Build Flags</title>
12
13 <para os="a">We will need to setup target specific flags for the compiler
[6a3c4ef]14 and linker:</para>
[fcb8a924]15
16<screen os="b"><userinput>export BUILD32="-m32"
17export BUILD64="-m64"</userinput></screen>
18
[6a3c4ef]19 <para os="c">Let's add the build flags to <filename>~/.bashrc</filename> to
20 prevent issues if we stop and come back later:</para>
[fcb8a924]21
22<screen os="d"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
23echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc</userinput></screen>
24
25</sect1>
Note: See TracBrowser for help on using the repository browser.