tech-pkg archive

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

Re: Once more, C++11 and older 'base' compilers



On 10/10/17 07:33, Edgar Fuß wrote:
.if empty(PKGPATH:Mlang/gcc48) && \
[...]
GCC_REQD+=4.8
.endif  # GCC_REQD
Is it possible to use this only for C++? I.e.:

1. Is USE_LANGUAGES defined at this point?

2. Does it work for a C++ binary compiled with a pkgsrc 4.8.5 gcc to use a
    C library compiled with a base 4.5.3?

I don't think you'll have any issues with a gcc 4.5 C library, but as you'll end up installing gcc48 at some point anyway, why not use it for C code as well?

Cheers,

    JB

--
Earth is a beta site.


Home | Main Index | Thread Index | Old Index