Has anyone successfully built boost using clang? I've successfully built boost using gcc, but with the recent news that gcc support is being deprecated I figured I would try to build boost with clang.
I am using a custom toolchain (clang 3.6, API 19, libc++, arm). I am also building on a Mac.
Whenever I try to build the atomic or filesystem module I get the following error
/Users/john/AndroidToolchain/clang_19_arm_libc/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../sysroot/usr/lib/../lib/crtbegin_dynamic.o:crtbrand.c:function _start: error: undefined reference to 'main'
I am also trying to build the date_time module and get the above error + this new one
/tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/atomic:922: error: undefined reference to '__atomic_fetch_add_4'
Has anyone seen these errors and have any experience in fixing them? If not has anyone successfully built boost using clang using a different method? If so could they please share it?
Thanks,
John