[lfs-support] Bk7.1_Ch6.17 GCC-4.6.2 search order of 'include directories'

pete Spam-Avoider x2164 at lycos.com
Sat Apr 28 14:00:33 PDT 2012


  Hi, 

  I'm building stable book 7.1 (Bk-7.1) using a stable 
  book 6.8 (Bk-6.8) system which meets all the
  "Host System Requirement" of Bk-7.1.

  I've followed the book to the letter. All commands have
  been taken from the text of Bk-7.1 by cutting and pasting text
  from a lynx browser.

  So far I've reached Bk-7.1_Ch-6.17, GCC-4.6.2, which has been
  compiled, tested and installed.  No unexpected failures
  occurred during 'make -k check'.  I've halted further
  progress past this chapter to see if I can get some input
  concerning the difference between the expected output of
  Bk-7.1_Ch-6.17's command:

     'grep -B4 '^ /usr/include' dummy.log'

  and the actual output I received.  A similar problem was
  described in a post to this list on Jan. 17, 2012 by Ronnie van Aarle
  with a response each from jasonpsage and emteeoh.
 
  The expected output is:

#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include
 /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include-fixed
 /usr/include

  The output from my system is:

#include <...> search starts here:
 /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include
 /usr/local/include
 /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include-fixed
 /usr/include


  My concern is to have the correct 'include directory' search
  order.

  All of the other commands in Ch-6.17 for testing the installation of
  gcc-4.6.2 produced the example outputs as presented in the chapter.

  Am I looking at an 'include directory' search order problem?

  Thanks in advance.

  pete jordan
  x2164 





More information about the lfs-support mailing list