I'm using gcc-4.6.2 with 7.0 book (because it fix some regressions of the 4.6.1 version).
When i do some controls, these are the results:
Code:
root:~# readelf -l a.out | grep ': /lib'
[Requesting program interpreter: /lib/ld-linux.so.2]
Code:
root:~# grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log
/usr/lib/crt1.o succeeded
/usr/lib/crti.o succeeded
/usr/lib/crtn.o succeeded
Code:
root:~# grep -B4 '^ /usr/include' dummy.log
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/tools/lib/gcc/i686-lfs-linux-gnu/4.6.2/../../../../i686-lfs-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include
The readelf is ok.
The first grep is different from the book, but it may be acceptable.
The second grep si completely different, and i have some doubts.
Have you some ideas?