[cfe-dev] -B support in clang

Roman Divacky rdivacky at freebsd.org
Wed Oct 21 11:12:24 PDT 2009


On Wed, Oct 21, 2009 at 08:34:04AM -0700, Shantonu Sen wrote:
> I have to ask: what are you really trying to do?
> 
> GCC's build system (which I assume where the libssp is being taken from) uses -B internally to override default search paths for the *uninstalled* xgcc. If you're trying to build libssp with a preinstalled compiler (either gcc or clang), -B is not appropriate, because the compiler will find whatever it needs in /usr/lib. In fact, overriding the paths with something pointing to a partial gcc build might do more harm than good.

we're building freebsd, this includes building gcc... I am currently 
investigating how to do this in a different way



More information about the cfe-dev mailing list