On Wed, 12 Sep 2012, Ian Lance Taylor wrote: > On Wed, Sep 12, 2012 at 9:23 AM, Joseph S. Myers > <jos...@codesourcery.com> wrote: > > On Tue, 11 Sep 2012, Ian Lance Taylor wrote: > > > >> The configury is fairly standard. Note that libbacktrace is built as > >> both a host library (to link into the compilers) and as a target library > >> (to link into libgo and possibly other libraries). > > > > Under what circumstances will the library be built for the target - only > > if a relevant language such as Go is being built, or unconditionally? > > My intent is to only build it when something needs it, e.g., libgo. I > don't know if I've expressed that intent correctly.
I think that if a library is listed in target_libs in config-lang.in for at least one language, and if all languages with it so listed are disabled, then that library will be disabled - but if no languages list it in config-lang.in, it will be enabled by default. -- Joseph S. Myers jos...@codesourcery.com