clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 4753a72 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:
826 bytes
|
Rev | Line | |
---|
[df5f04c] | 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" [
|
---|
[df5f04c] | 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
|
---|
[e513f46] | 14 | and linker:</para>
|
---|
[df5f04c] | 15 |
|
---|
| 16 | <screen os="b"><userinput>export BUILD32="-m32"
|
---|
| 17 | export BUILD64="-m64"</userinput></screen>
|
---|
| 18 |
|
---|
[e513f46] | 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>
|
---|
[df5f04c] | 21 |
|
---|
[c63dde1] | 22 | <screen os="d"><userinput>cat >> ~/.bashrc << EOF
|
---|
| 23 | export BUILD32="${BUILD32}"
|
---|
| 24 | export BUILD64="${BUILD64}"
|
---|
| 25 | EOF</userinput></screen>
|
---|
[df5f04c] | 26 |
|
---|
| 27 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.