Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure vs compiler #24

Open
spth opened this issue May 25, 2018 · 1 comment
Open

configure vs compiler #24

spth opened this issue May 25, 2018 · 1 comment

Comments

@spth
Copy link
Member

spth commented May 25, 2018

The configure script should list the compiler (CXX) in the final output. It should also check that the compiler supports C++11.

On current OpenBSD 6.3, configure choses g++ as the compiler by default, but GCC 4.2.1 that comes with OpenBSB does not support C++11¹.

Philipp

¹ There probably will never be a C++11-supporting GCC on OpenBSD - OpenBSD does not accept GPL 3 software and all C++11-supporting GCC are under GPL 3.

@felix-salfelder
Copy link
Member

The configure script should list the compiler (CXX) in the final output.

done (in develop)

It should also check that the compiler supports C++11.

more tricky, we only use some features of c++11. the recommended and sane way of doing this (check for features) is more work.
perhaps we can get away with checking if some of the boost headers are "usable"... i'll leave this open.

On current OpenBSD 6.3, configure choses g++

that's okay. override with CXX (cf. INSTALL, ./configure --help).

There probably will never be a C++11-supporting GCC on OpenBSD

that's sad, but not a problem we can solve here. (interesting nevertheless.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants