
On Mon, Oct 22, 2012 at 3:07 PM, Eric Niebler <eric@boostpro.com> wrote:
Cygwin has been shipping clang for six months or so. Has anyone gotten the cygwin/clang distribution (or any other clang distribution) to build boost?
What toolset did you use?
What does your user-config.jam file look like?
Do you run bjam/b2 from the Windows command line or the bash command
On 10/22/2012 12:25 PM, Beman Dawes wrote: line?
I build clang from source on cygwin and use that. I like to track their upstream closely since they quickly fix the bugs I report. My user-config.jam has this:
using clang : : /usr/local/bin/clang++ : <compileflags>-std=gnu++11 ;
Then I run bjam from bash. Works ok, but clang has a long-ish startup time under cygwin. Several seconds per TU.
Have you tried building a statically linked version? I had this problem not under cygwin but under MSys - building a statically linked clang fixed it.
HTH,
-- Eric Niebler BoostPro Computing http://www.boostpro.com
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- chris