Changeset 2e7a86a in clfs-sysroot
- Timestamp:
- Feb 19, 2007, 2:49:25 PM (18 years ago)
- Branches:
- master
- Children:
- a3ac3a2
- Parents:
- 090d748
- Location:
- BOOK
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/variables.xml
r090d748 r2e7a86a 15 15 <para os="a">During the building of the cross-compile tools you will need to 16 16 set a few variables that will be dependent on your particular needs. 17 The first variable will be the triplet of the <envar>HOST</envar> machine. 18 You will need to set the <envar>CHOST</envar> triplet to match your 19 particular needs. To set this information you can issue the following 20 command:</para> 17 The first variable will be the triplet of the host machine, which will be 18 put into the <envar>CLFS_HOST</envar> variable. To account for the 19 possibility that the host and target are the same arch, as cross-compiling 20 won't work when host and target are the same, part of the triplet needs to 21 be changed slightly to add "cross". Set <envar>CLFS_HOST</envar> using the 22 following command:</para> 21 23 22 24 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 23 25 24 <para os="c">Now you will need to set the target triplet for the target 25 architecture. You can do this by running the same command as above, just 26 running it on the target machine. If you can't run the command on the 27 target machine, you can use the table at the bottom of this page. Set 28 the command using the method listed below:</para> 26 <para os="c">Now you will need to set the triplet for the target 27 architecture. Set the target variable using the following command:</para> 29 28 30 29 <screen os="d"><userinput>export CLFS_TARGET="arm-unknown-linux-gnu"</userinput></screen> … … 32 31 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 33 32 34 <para os="e">Now we willadd these to <filename>~/.bashrc</filename>, just in33 <para os="e">Now add these to <filename>~/.bashrc</filename>, just in 35 34 case you have to exit and restart building later:</para> 36 35 -
BOOK/introduction/common/changelog.xml
r090d748 r2e7a86a 40 40 <para>February 19, 2007</para> 41 41 <itemizedlist> 42 <listitem> 43 <para>[jciccone] - Changed the wording in the "Build Variables" page 44 to make it clearer. Copied from Chris's change in clfs-svn.</para> 45 </listitem> 42 46 <listitem> 43 47 <para>[jciccone] - Fix the building of Ncurses when an unpatched
Note:
See TracChangeset
for help on using the changeset viewer.