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.

HTH,

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk