[PATCH] [ASan] Fixed path to Android bin directory

Renato Golin renato.golin at linaro.org
Fri Oct 11 02:02:26 PDT 2013


On 11 October 2013 09:55, Evgeniy Stepanov <eugeni.stepanov at gmail.com>wrote:

> "man gcc" tells us that "This option specifies where to find the
> executables, libraries, include files, and data files of the compiler
> itself" and gives "/usr/lib/gcc/" as a sample value. I'd say this
> option value should not include '/bin/', and the driver should add it
> internally when looking for binaries. WDYT?
>

So, this message is confusing, because the same manual, right after that,
says:

"If neither of those results in a file name that is found, the unmodified
program name is searched for using the directories specified in your PATH
environment variable.",

which would imply that the "/bin" should be passed. And since
"/usr/lib/gcc" is there the libraries live, not the binaries, I think that
part of the manual is just wrong. Possibly copy&paste error?

Most of the time I use -I and -L only, and set the binary search on the
PATH, so I'm not sure what the behaviour of -B should be, in practice.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131011/e7cf574f/attachment.html>


More information about the llvm-commits mailing list