Last change
on this file since 41ce445 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:
842 bytes
|
Rev | Line | |
---|
[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 |
|
---|
| 8 | <sect1 id="ch-cross-tools-flags">
|
---|
| 9 | <?dbhtml filename="flags.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Build Flags</title>
|
---|
| 12 |
|
---|
[f32f537] | 13 | <para os="a">We will need to setup target specific flags for the compiler
|
---|
[bf8c11f] | 14 | and linkers.</para>
|
---|
| 15 |
|
---|
[f32f537] | 16 | <screen os="b"><userinput>export BUILD32="-m32"
|
---|
[bf8c11f] | 17 | export BUILD64="-m64"</userinput></screen>
|
---|
| 18 |
|
---|
[05806e8] | 19 | <para os="c">Lets add the build flags to <filename>~/.bashrc</filename> to
|
---|
[bf8c11f] | 20 | prevent issues if we stop and come back later.</para>
|
---|
| 21 |
|
---|
[05806e8] | 22 | <screen os="d"><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc
|
---|
| 23 | echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc</userinput></screen>
|
---|
[bf8c11f] | 24 |
|
---|
| 25 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.