Changeset 9dc5852 in clfs-embedded for BOOK/cross-tools/x86
- Timestamp:
- Aug 16, 2008, 4:32:01 AM (16 years ago)
- Branches:
- master
- Children:
- 56d186f
- Parents:
- 7884e98
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/x86/variables.xml
r7884e98 r9dc5852 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> 21 22 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | \ 23 sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 24 25 <para os="c">Now you will need to set the target triplet for the target 17 You will need to set the target triplet for the target 26 18 architecture. You can do this by running the same command as above, just 27 19 running it on the target machine. If you can't run the command on the … … 31 23 <screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen> 32 24 33 <para os="e">Now we will add th eseto <filename>~/.bashrc</filename>, just in25 <para os="e">Now we will add this to <filename>~/.bashrc</filename>, just in 34 26 case you have to exit and restart building later:</para> 35 27 36 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc 37 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen> 28 <screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen> 38 29 39 30 <table os="g">
Note:
See TracChangeset
for help on using the changeset viewer.