dimanche 12 août 2012

compiling boost with clang mac os x

Here is the command to compile boost on mac os x with clang:

> ./bootstrap.sh
> ./b2 toolset=clang cxxflags="-stdlib=libc++" linkflags="-stdlib=libc++"

however boost 1.50 has issue with the signal lib,
I downloaded trunk, everything ok so far.

and to install:

> ./b2 toolset=clang cxxflags="-stdlib=libc++" linkflags="-stdlib=libc++" install

enjoy boost.

Aucun commentaire:

Enregistrer un commentaire