Boost logo

Boost :

Subject: Re: [boost] [clang] Windows toolset support?
From: Eric Niebler (eric_at_[hidden])
Date: 2012-10-22 18:07:04

On 10/22/2012 12:25 PM, Beman Dawes 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 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.


Eric Niebler
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at