Changeset 5585711 for BOOK/final-preps/x86_64
- Timestamp:
- May 20, 2014, 10:17:36 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- fab5058
- Parents:
- 40e9518
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-preps/x86_64/variables.xml
r40e9518 r5585711 27 27 <screen os="d"><userinput>export CLFS_TARGET="x86_64-unknown-linux-gnu"</userinput></screen> 28 28 29 <para os=" m1">Now set the target triplet for 32 bits:</para>29 <para os="e">Now set the target triplet for 32 bits:</para> 30 30 31 <screen os="m2"><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen> 31 <screen os="f"><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen> 32 33 <para os="g">We will need to setup target-specific flags for the compiler 34 and linker:</para> 35 36 <screen os="h"><userinput>export BUILD32="-m32" 37 export BUILD64="-m64"</userinput></screen> 32 38 33 39 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 34 40 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"36 href="../x86/variables.xml"37 xpointer="xpointer(//*[@os='e'])"/>41 <para os="i">Now add the host and target variables, and compiler and linker 42 flags, to <filename>~/.bashrc</filename>, just in case you have to exit and 43 restart building later:</para> 38 44 39 <screen os=" f"><userinput>cat >> ~/.bashrc << EOF45 <screen os="j"><userinput>cat >> ~/.bashrc << EOF 40 46 export CLFS_HOST="${CLFS_HOST}" 41 47 export CLFS_TARGET="${CLFS_TARGET}" 42 48 export CLFS_TARGET32="${CLFS_TARGET32}" 49 export BUILD32="${BUILD32}" 50 export BUILD64="${BUILD64}" 43 51 EOF</userinput></screen> 44 52
Note:
See TracChangeset
for help on using the changeset viewer.