Changeset 1a3e6a3 for chapter05/glibc.xml
- Timestamp:
- 04/25/2012 07:26:21 PM (12 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, 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, 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:
- cd3c10c
- Parents:
- e625c49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc.xml
re625c49 r1a3e6a3 203 203 <screen><userinput remap="install">make install</userinput></screen> 204 204 205 <caution> 206 <para>At this point, it is imperative to stop and ensure that the basic 207 functions (compiling and linking) of the new toolchain are working as 208 expected. To perform a sanity check, run the following commands:</para> 209 210 <screen><userinput>echo 'main(){}' > dummy.c 211 $LFS_TGT-gcc dummy.c 212 readelf -l a.out | grep ': /tools'</userinput></screen> 213 214 <para>If everything is working correctly, there should be no errors, 215 and the output of the last command will be of the form:</para> 216 217 <screen><computeroutput>[Requesting program interpreter: /tools/lib/ld-linux.so.2]</computeroutput></screen> 218 219 <para>Note that <filename class="directory">/tools/lib</filename>, or 220 <filename class="directory">/tools/lib64</filename> for 64-bit machines 221 appears as the prefix of the dynamic linker.</para> 222 223 <para>If the output is not shown as above or there was no output at all, 224 then something is wrong. Investigate and retrace the steps to find out 225 where the problem is and correct it. This issue must be resolved before 226 continuing on. Something may have gone wrong with the specs file amendment 227 above. In this case, redo the specs file amendment, being careful to 228 copy-and-paste the commands.</para> 229 230 <para>Once all is well, clean up the test files:</para> 231 232 <screen><userinput>rm -v dummy.c a.out</userinput></screen> 233 234 </caution> 235 236 <note><para>Building Binutils in the next section will serve as an additional check that 237 the toolchain has been built properly. If Binutils fails to build, it is an 238 indication that something has gone wrong with the previous Binutils, GCC, or Glibc 239 installations.</para></note> 240 205 241 </sect2> 206 242
Note:
See TracChangeset
for help on using the changeset viewer.