
Linux From Scratch - Version 7.0
108
Next make sure that we're using the correct libc:
grep "/lib.*/libc.so.6 " dummy.log
If everything is working correctly, there should be no errors, and the output of the last command (allowing for a lib64
directory on 64-bit hosts) will be:
attempt to open /lib/libc.so.6 succeeded
Lastly, make sure GCC is using the correct dynamic linker:
grep found dummy.log
If everything is working correctly, there should be no errors, and the output of the last command will be (allowing
for platform-specific differences in dynamic linker name and a lib64 directory on 64-bit hosts):
found ld-linux.so.2 at /lib/ld-linux.so.2
If the output does not appear as shown above or is not received at all, then something is seriously wrong. Investigate
and retrace the steps to find out where the problem is and correct it. The most likely reason is that something went
wrong with the specs file adjustment. Any issues will need to be resolved before continuing on with the process.
Once everything is working correctly, clean up the test files:
rm -v dummy.c a.out dummy.log
6.17.2. Contents of GCC
Installed programs: c++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov
Installed libraries: li/jointfilesconvert/297116/bgcc.a, li/jointfilesconvert/297116/bgcc_eh.a, li/jointfilesconvert/297116/bgcc_s.so, li/jointfilesconvert/297116/bgcov.a, li/jointfilesconvert/297116/bgomp.{a,so}, libmudflap.{a,so},
libmudflapth.{a,so}, libssp.{a,so}, libssp_nonshared.a, libstdc++.{a,so} and libsupc+
+.a
Installed directories: /usr/include/c++, /usr/lib/gcc, /usr/share/gcc-4.6.1
Short Descriptions
c++ The C++ compiler
cc The C compiler
cpp The C preprocessor; it is used by the compiler to expand the #include, #define, and similar
statements in the source files
g++ The C++ compiler
gcc The C compiler
gccbug A shell script used to help create useful bug reports
gcov A coverage testing tool; it is used to analyze programs to determine where optimizations will have
the most effect
li/jointfilesconvert/297116/bgcc Contains run-time support for gcc
li/jointfilesconvert/297116/bgcov This library is linked in to a program when GCC is instructed to enable profiling
li/jointfilesconvert/297116/bgomp GNU implementation of the OpenMP API for multi-platform shared-memory parallel programming
in C/C++ and Fortran
Comentarios a estos manuales