- Timestamp:
- 09/21/2003 03:05:40 AM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- ebd8ee2
- Parents:
- dc19fb6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/adjustingtoolchain.xml
rdc19fb6 r76d113f 37 37 38 38 <caution><para>It is imperative at this point to stop and ensure that the 39 basic function ality of the adjusted toolchain is working as expected. We are40 going to perform a simple sanity check:</para>39 basic functions (compiling and linking) of the adjusted toolchain are working 40 as expected. For this we are going to perform a simple sanity check:</para> 41 41 42 42 <para><screen><userinput>echo 'main(){}' > dummy.c … … 44 44 readelf -l a.out | grep ': /lib'</userinput></screen></para> 45 45 46 <para>If everything is working correctly, the output of the last command will47 be:</para>46 <para>If everything is working correctly, there should be no errors, and the 47 output of the last command will be:</para> 48 48 49 49 <para><screen>[Requesting program interpreter: /lib/ld-linux.so.2] 50 50 </screen></para> 51 51 52 <para>If you did not receive the output as shown above then something is52 <para>If you did not receive the output as shown above, then something is 53 53 seriously wrong. You will need to investigate and retrace your steps to find 54 54 out where the problem is and correct it. There is no point in continuing 55 until this is done. Most likely ,something went wrong with the specs file55 until this is done. Most likely something went wrong with the specs file 56 56 amendment above. Note especially that <filename>/lib</filename> now appears as 57 57 the prefix of our dynamic linker. Of course, if you are working on a platform 58 58 where the name of the dynamic linker is something other than <filename> 59 ld-linux.so.2</filename> then the output will be slightly different.</para>59 ld-linux.so.2</filename>, then the output will be slightly different.</para> 60 60 61 61 <para>Once you are satisfied that all is well, clean up the test files:</para>
Note:
See TracChangeset
for help on using the changeset viewer.