[lfs-support] 6.17. GCC-4.8.1 - Linker search paths

Pierre Labastie pierre.labastie at neuf.fr
Tue Oct 1 05:50:44 PDT 2013


Le 01/10/2013 05:41, Craig Magee a écrit :
>
> http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gcc.html
> It definitely states the block of text I quoted.
>
> Would the expected output listed for i686 systems also be incorrect?
> SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
> SEARCH_DIR("/usr/local/lib")
> SEARCH_DIR("/lib")
> SEARCH_DIR("/usr/lib");
>
>
try:
grep 'SEARCH.*lib.*' dummy.log |sed 's|; |\n|g'

If, for some reason, the SEARCH* line in dummy.log has been split into 
different lines, it should give the expected result.

Actually, even
grep 'SEARCH' dummy.log |sed 's|; |\n|g'

is enough.
Regards
Pierre




More information about the lfs-support mailing list