pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USE_LANGUAGES=c++11 but no C++ 11 compiler (NetBSD 7.1)



Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote:
> > The question being, is there no mechanism in pkgsrc to build and use a better compiler (e.g. LLVM or a newer GCC) if required?
> I suggested one, implemented it, it works for me, but it hasn't been adopted.
> 
> There were many discussions about this, there is even a Wiki page on the problem, but no consensus has been reached. My impression is that some developer aren't interested too much because they run -current and so are not affected.

This is what I dug up, for those interested:

  Wiki page: https://wiki.netbsd.org/pkgsrc/gcc/

  Selecting a C++ compiler (was: build-issues with Q3 on netbsd-6-0
  (GCC_REQD, c++11..))
    https://marc.info/?l=netbsd-tech-pkg&m=150766132823678&w=2

  (continued:)
    https://marc.info/?l=netbsd-tech-pkg&m=150766657825362&w=2
  
  Selecting C and C++ compilers (was: Selecting a C++ compiler)
    https://marc.info/?l=netbsd-tech-pkg&m=150789110318783&w=2

  bootstrapping a C++ compiler (was: Selecting a C++ compiler)
    https://marc.info/?l=netbsd-tech-pkg&m=150789189619008&w=2

  (continued:)
    https://marc.info/?l=netbsd-tech-pkg&m=150827939717957&w=2

  compiler selection still
    https://marc.info/?l=netbsd-tech-pkg&m=151459829902025&w=2

  Using modern gcc from pkgsrc on old systems for c++
    https://marc.info/?l=netbsd-tech-pkg&m=155439733600868&w=2

> The main problem remaining (or so I think) is bootstrapping, i.e. what to do with lang/gccNN's dependencies, some of which may need re-building in order to be usable with packages being compiled with the new gccNN just built.
> 
> People keep adding GCC_REQD to Makefiles and ever growing seems-to-works-for-me snipplets to their mk.conf's.

But that means the user is to supply that GCC version, correct? Meaning
it's up to the user to bootstrap in a separate pkgsrc installation. In
any case, I have some reading to do.

Sijmen


Home | Main Index | Thread Index | Old Index