[LLVMdev] How to specify LIBRARY_PATH for cross compiler

Grang, Mandeep Singh mgrang at codeaurora.org
Mon May 4 12:05:10 PDT 2015


Ping!

On 5/1/2015 2:37 PM, Grang, Mandeep Singh wrote:
> 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/20150504/67de39ae/attachment.html>


More information about the llvm-dev mailing list