<div dir="ltr">On 11 October 2013 09:55, Evgeniy Stepanov <span dir="ltr"><<a href="mailto:eugeni.stepanov@gmail.com" target="_blank">eugeni.stepanov@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">"man gcc" tells us that "This option specifies where to find the<br>

executables, libraries, include files, and data files of the compiler<br>
itself" and gives "/usr/lib/gcc/" as a sample value. I'd say this<br>
option value should not include '/bin/', and the driver should add it<br>
internally when looking for binaries. WDYT?<br></blockquote><div></div></div><br></div><div class="gmail_extra">So, this message is confusing, because the same manual, right after that, says:</div><div class="gmail_extra">
<br></div><div class="gmail_extra">"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.",</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">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?<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">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.</div><div class="gmail_extra">
<br></div><div class="gmail_extra">cheers,</div><div class="gmail_extra">--renato</div></div>