Changeset 2b6c440 for chapter05/adjusting.xml
- Timestamp:
- 12/17/2004 08:01:07 PM (20 years ago)
- Children:
- 83865af
- Parents:
- c30ef42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/adjusting.xml
rc30ef42 r2b6c440 37 37 <!-- Ampersands are needed to allow copy and paste --> 38 38 39 <screen ><userinput>SPECFILE=`gcc --print-file specs` &&39 <screen arch="x86"><userinput>SPECFILE=`gcc --print-file specs` && 40 40 sed 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \ 41 $SPECFILE > tempspecfile && 42 mv -f tempspecfile $SPECFILE && 43 unset SPECFILE</userinput></screen> 44 45 <screen arch="raq2"><userinput>SPECFILE=`gcc --print-file specs` && 46 sed 's@ /lib/ld.so.1@ /tools/lib/ld.so.1@g' \ 41 47 $SPECFILE > tempspecfile && 42 48 mv -f tempspecfile $SPECFILE && … … 47 53 <beginpage/> 48 54 Alternatively, the specs file can be edited by hand. This is done by 49 replacing every occurrence of <quote>/lib/ld-linux.so.2</quote> with 50 <quote>/tools/lib/ld-linux.so.2</quote></para> 55 replacing every occurrence of <quote arch="x86">/lib/ld-linux.so.2</quote> 56 <quote arch="raq2">/lib/ld.so.1</quote> with <quote arch="x86">/tools/lib/ld-linux.so.2</quote> 57 <quote arch="raq2">/tools/lib/ld.so.2</quote></para> 51 58 52 59 <para>Be sure to visually inspect the specs file in order to verify the 53 60 intended changes have been made.</para> 61 62 <!-- For specific arch books, the next para isn't needed, IMHO. 54 63 55 64 <important><para>If working on a platform where the name of the … … 60 69 linkend="ch-tools-toolchaintechnotes" role=","/> if 61 70 necessary.</para></important> 71 --> 62 72 63 73 <para>There is a possibility that some include files from the host … … 84 94 and the output of the last command will be of the form:</para> 85 95 86 <screen ><computeroutput>[Requesting program interpreter:96 <screen arch="x86"><computeroutput>[Requesting program interpreter: 87 97 /tools/lib/ld-linux.so.2]</computeroutput></screen> 98 99 <screen arch="raq2"><computeroutput>[Requesting program interpreter: 100 /tools/lib/ld.so.1]</computeroutput></screen> 88 101 89 102 <para>Note that <filename class="directory">/tools/lib</filename>
Note:
See TracChangeset
for help on using the changeset viewer.