Changes between Initial Version and Version 1 of Ticket #983, comment 2


Ignore:
Timestamp:
Sep 13, 2014, 9:04:24 AM (11 years ago)
Author:
William Harrington

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #983, comment 2

    initial v1  
    11We can remove the variable as they are not needed. The linker should search by default in /lib and /usr/lib to begin with. No need to set rpath. For CC and CXX  if we check the search paths from temp system gcc and it isn't searching in /usr/include then we will need to still use system so that the proper headers are searched until final system GCC is built.
     2
     3In this case it doesn't:
     4
     5echo "main(){}" | /tools/bin/gcc -x v -c -
     6
     7ignoring nonexistent directory "/tools/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/../../../../x86_64-unknown-linux-gnu/include"
     8ignoring duplicate directory "/tools/include"
     9#include "..." search starts here:
     10#include <...> search starts here:
     11 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/include
     12 /tools/include
     13 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/include-fixed
     14
     15Now, with gmp installed in /usr/lib, mpfr and mpc will configure for the system gmp and should use the headers and libs in /usr but we can't be sure without looking at the configure logs.