Boost logo

Boost :

Subject: Re: [boost] [clang] Windows toolset support?
From: Chris Glover (c.d.glover_at_[hidden])
Date: 2012-10-22 23:53:02


On Mon, Oct 22, 2012 at 3:07 PM, Eric Niebler <eric_at_[hidden]> wrote:

> 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.
>

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


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