Pregunta

I've applied Compile boost C++11 clang mac cannot find cstddef and invoked build as follows ./b2 variant=debug,release --layout=versioned toolset=clang cxxflags="-fPIC -std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" linkflags="-stdlib=libc++ -arch i386 -arch x86_64" threading=multi link=shared --stagedir=stage_darwin_intel_shared_mt stage

And everything builds, except for a log of warnings and except for Boost.Wave fails: http://pastebin.com/ZHkmTWaq

P.S. Static flavor of boost builds Wave fine.

¿Fue útil?

Solución

Correct compilation

./b2 variant=debug,release --layout=versioned toolset=clang cxxflags="-fPIC -std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" linkflags="-std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" threading=multi link=shared --stagedir=stage_darwin_intel_shared_mt stage
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top