Boost.Config for clang on Linux with libc++
Hi, Attached are user.hpp and the console output from running configure with clang-3.9. Note that I tried to configure using libc++ but the configure script immediately failed, so these are the results for clang-3.9 with the default stdlib (libstdc++). Can someone please take a look and see what adjustments might need to be made to Boost.Config to support this configuration? Once it works for the default stdlib, I’d like to rerun it to use libc++. Thanks, Noel Belcourt
Belcourt, Kenneth wrote:
Hi,
Attached are user.hpp and the console output from running configure with clang-3.9. Note that I tried to configure using libc++ but the configure script immediately failed, so these are the results for clang-3.9 with the default stdlib (libstdc++).
Can someone please take a look and see what adjustments might need to be made to Boost.Config to support this configuration? Once it works for the default stdlib, I’d like to rerun it to use libc++.
boost/config/compiler/clang.hpp doesn't seem to check the Clang version anywhere, it uses __has_feature, so it looks like it should work without any changes (at least for the default stdlib.)
On 13/11/2016 18:21, Peter Dimov wrote:
Belcourt, Kenneth wrote:
Hi,
Attached are user.hpp and the console output from running configure with clang-3.9. Note that I tried to configure using libc++ but the configure script immediately failed, so these are the results for clang-3.9 with the default stdlib (libstdc++).
Can someone please take a look and see what adjustments might need to be made to Boost.Config to support this configuration? Once it works for the default stdlib, I’d like to rerun it to use libc++.
boost/config/compiler/clang.hpp doesn't seem to check the Clang version anywhere, it uses __has_feature, so it looks like it should work without any changes (at least for the default stdlib.)
+1, also when doing this, please run the configure script with the --enable-test option otherwise we have no idea what to change (if anything). Thanks, John.
On Nov 13, 2016, at 12:27 PM, John Maddock
wrote: On 13/11/2016 18:21, Peter Dimov wrote:
Belcourt, Kenneth wrote:
Hi,
Attached are user.hpp and the console output from running configure with clang-3.9. Note that I tried to configure using libc++ but the configure script immediately failed, so these are the results for clang-3.9 with the default stdlib (libstdc++).
Can someone please take a look and see what adjustments might need to be made to Boost.Config to support this configuration? Once it works for the default stdlib, I’d like to rerun it to use libc++.
boost/config/compiler/clang.hpp doesn't seem to check the Clang version anywhere, it uses __has_feature, so it looks like it should work without any changes (at least for the default stdlib.)
+1, also when doing this, please run the configure script with the --enable-test option otherwise we have no idea what to change (if anything).
Thanks for the help. Here’s the command line output and the config.log.
Ignore this. This particular configuration doesn’t have libc++ support. Sorry about that. Noel
On Nov 13, 2016, at 1:16 PM, Belcourt, Kenneth
wrote: On Nov 13, 2016, at 12:27 PM, John Maddock
wrote: On 13/11/2016 18:21, Peter Dimov wrote:
Belcourt, Kenneth wrote:
Hi,
Attached are user.hpp and the console output from running configure with clang-3.9. Note that I tried to configure using libc++ but the configure script immediately failed, so these are the results for clang-3.9 with the default stdlib (libstdc++).
Can someone please take a look and see what adjustments might need to be made to Boost.Config to support this configuration? Once it works for the default stdlib, I’d like to rerun it to use libc++.
boost/config/compiler/clang.hpp doesn't seem to check the Clang version anywhere, it uses __has_feature, so it looks like it should work without any changes (at least for the default stdlib.)
+1, also when doing this, please run the configure script with the --enable-test option otherwise we have no idea what to change (if anything).
Thanks for the help.
Here’s the command line output and the config.log.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (3)
-
Belcourt, Kenneth
-
John Maddock
-
Peter Dimov