Build boost with Apple's LLVM 3.0

I am building boost on OS X 10.7.2. Using ./bootstrap.sh ./b2 sudo ./b2 install it appears to build with the GCC 4.2.1 toolchain. How would I change this so that it builds using the LLVM 3.0 toolchain?

On Dec 28, 2011, at 4:25 PM, Daniel Dilts wrote:
I am building boost on OS X 10.7.2.
Using ./bootstrap.sh ./b2 sudo ./b2 install
it appears to build with the GCC 4.2.1 toolchain. How would I change this so that it builds using the LLVM 3.0 toolchain?
b2 toolset=clang -- Marshall Marshall Clow Idio Software mailto:mclow.lists@gmail.com A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki

On Dec 28, 5:50 pm, Marshall Clow
On Dec 28, 2011, at 4:25 PM, Daniel Dilts wrote:
I am building boost on OS X 10.7.2.
Using ./bootstrap.sh ./b2 sudo ./b2 install
it appears to build with the GCC 4.2.1 toolchain. How would I change this so that it builds using the LLVM 3.0 toolchain?
b2 toolset=clang
-- Marshall
Will that build for OS X or a generic (Linux) LLVM?
participants (2)
-
Daniel Dilts
-
Marshall Clow