Last change
on this file since ffc750b was 84013ba, checked in by Jim Gifford <clfs@…>, 19 years ago |
r3198@server (orig r1492): ken | 2006-04-30 14:51:56 -0700
Some multilib fixes for ppc64.
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[84013ba] | 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-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="-m32"
|
---|
| 17 | export BUILD64="-m64"</userinput></screen>
|
---|
| 18 |
|
---|
| 19 | <para>You will need to set your host target triplet for 32 bit:</para>
|
---|
| 20 |
|
---|
| 21 | <screen><userinput>export LFS_TARGET32="powerpc-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}\"" >> ~/.bash_profile
|
---|
| 27 | echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile
|
---|
| 28 | echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bash_profile</userinput></screen>
|
---|
| 29 |
|
---|
| 30 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.