
On Sun, Apr 28, 2013 at 10:37 AM, Nat Linden <nat@lindenlab.com> wrote:
I'm using Xcode 4.3.3, gcc 4.2.1, these commands:
./b2 variant=debug address-model=32 architecture=x86 link=static threading=multi libs/context/test ./b2 variant=debug address-model=32 architecture=x86 link=static threading=multi libs/context/example
Sorry, I should have been clearer in that I'm using clang with libc++ (current Xcode version, 4.6.2), as this is now standard on OS X and required by our software framework. I posted the output of my build failure above, which shows exactly what commands I'm using, but I'll list my config here as well. I have the following in my user-config.jam: using clang : osx : xcrun clang -stdlib=libc++ -std=c++11 ; To just build context, I do: ./bootstrap.sh --with-libraries=context ./b2 -a toolset=clang-osx link=static threading=multi stage (added threading=multi to match your commands, I get the same result without) and immediately the output is: lang-darwin.compile.c++ bin.v2/libs/context/build/clang-darwin-osx/release/link-static/threading-multi/unsupported.o libs/context/src/unsupported.cpp:7:2: error: "platform not supported" #error "platform not supported" ^ 1 error generated. "xcrun" "clang" "-stdlib=libc++" "-std=c++11" -x c++ -O3 -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/clang-darwin-osx/release/link-static/threading-multi/unsupported.o" "libs/context/src/unsupported.cpp" ...failed clang-darwin.compile.c++ bin.v2/libs/context/build/clang-darwin-osx/release/link-static/threading-multi/unsupported.o... ...skipped <pbin.v2/libs/context/build/clang-darwin-osx/release/link-static/threading-multi>libboost_context.a(clean) for lack of <pbin.v2/libs/context/build/clang-darwin-osx/release/link-static/threading-multi>unsupported.o... ...skipped <pbin.v2/libs/context/build/clang-darwin-osx/release/link-static/threading-multi>libboost_context.a for lack of <pbin.v2/libs/context/build/clang-darwin-osx/release/link-static/threading-multi>unsupported.o... ...skipped <pstage/lib>libboost_context.a for lack of <pbin.v2/libs/context/build/clang-darwin-osx/release/link-static/threading-multi>libboost_context.a... ...failed updating 1 target... ...skipped 3 targets... Thanks for looking at this... Rich