[LLVMdev] problem on clang+gold

Wei-Ren Chen chenwj at iis.sinica.edu.tw
Wed May 23 06:57:36 PDT 2012


> The problem to me is that clang should really pick the library under 
> /s/gcc-4.3.1/lib rather the one under /usr/lib/gcc.
> 
> Is this a bug that clang does not pick the correct library path? Any 
> ways to fix this?

  From the top of my head, perhaps you can look into 
clang/lib/Frontend/InitHeaderSearch.cpp and try to use the GCC path you want.

HTH, 
chenwj

--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj





More information about the llvm-dev mailing list