[LLVMdev] How to specify LIBRARY_PATH for cross compiler

Grang, Mandeep Singh mgrang at codeaurora.org
Fri May 1 14:37:13 PDT 2015


Hi,

In clang/lib/Driver/Tools.cpp the -B<LIBRARY_PATH> option is only 
supported for native compilers. How do we specify the LIBRARY_PATH for 
cross compilers?

The following code snipped from Tools.cpp is what controls support for 
-B option for native compilers:
/if (!TC.isCrossCompiling())//
//   addDirectoryList(Args, CmdArgs, "-L", "LIBRARY_PATH");

/I tried specifying the LIBRARY_PATH using the -L option but that does 
not work.

Thanks,
Mandeep
//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150501/4053b9c1/attachment.html>


More information about the llvm-dev mailing list