[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Once more, C++11 and older 'base' compilers
On 08/09/17 12:57, coypu%sdf.org@localhost wrote:
I'm proposing this option:
per OS/arch combos _TARGET_HAS_PKGSRC_GCC.
USE_LANGUAGE=c++ => GCC_REQD+=4.8
We will bump this if packages with more than 500-1000 dependencies
requires more. No going back to pre-4.8 for C++.
USE_LANGUAGE=c++11 => GCC_REQD+=4.8
(??? C++14, C++17, C++2a)
if CC_VERSION < GCC_REQD
=> PKG_FAIL_REASON="Not in _TARGET_HAS_PKGSRC_GCC, yadda yadda to
override, possibly build from a system compiler"
Also for both, possibly provide a bootstrap warning about GCC<4.8.
currently I can say for netbsd/x86 we can safely add
_TARGET_HAS_PKGSRC_GCC, presumably sunos and linux too.
Can you clarify how _TARGET_HAS_PKGSRC_GCC gets set? Is this built into
the bootstrap scripts and set globally for selected OSs and ARCHs? Can
users add it to mk.conf for other platforms?
How do gcc48 and dependencies get exempted so they can build with the
Earth is a beta site.
Main Index |
Thread Index |