Re: -Bprefix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ali hagigat <hagigatali@xxxxxxxxx> writes:

> 3.14 Options for Directory Search
> -Bprefix
> variable.
> The compiler will check to see if the path provided by the â-Bâ refers to a
> directory, and if necessary it will add a directory separator
> character at the end
> of the path.
> -----------------------------------------------
> I have copied part of gcc manual. What it is trying to say? Can path
> provided by -B not a directory?
> What does it mean?

-B need not be a directory.  -B is a string prefix.  For convenience,
because the -B option is most commonly used with a directory, gcc will
add a trailing '/' when the -B option names a directory.  Otherwise,
since -B is a string prefix, you would have to add the trailing '/'
yourself when using -B.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux