clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since f7e7cf0 was c63dde1, checked in by Jim Gifford <clfs@…>, 16 years ago |
Use CAT to replace echo's whenever possible
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[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 |
|
---|
| 16 | <screen><userinput>export BUILD32="-mabi=32"
|
---|
| 17 | export BUILDN32="-mabi=n32"
|
---|
| 18 | export BUILD64="-mabi=64"</userinput></screen>
|
---|
| 19 |
|
---|
| 20 | <para>You will need to set your host target triplet for o32 bit:</para>
|
---|
| 21 |
|
---|
[0c1c2c1] | 22 | <screen><userinput>export CLFS_TARGET32="$(echo ${MACH_TYPE}| sed -e 's/64//g')"</userinput></screen>
|
---|
[3f8be484] | 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 |
|
---|
[c63dde1] | 27 | <screen><userinput>cat >> ${CLFS}/root/.bash_profile << EOF
|
---|
| 28 | export BUILD32="${BUILD32}"
|
---|
| 29 | export BUILDN32="${BUILDN32}"
|
---|
| 30 | export BUILD64="${BUILD64}"
|
---|
| 31 | export CLFS_TARGET32="${CLFS_TARGET32}"
|
---|
| 32 | EOF</userinput></screen>
|
---|
[3f8be484] | 33 |
|
---|
| 34 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.