gcc-6

René J.V. Bertin rjvbertin at gmail.com
Tue May 17 04:07:44 PDT 2016


On Tuesday May 17 2016 12:01:15 Clemens Lang wrote:

Hi,

>There is a way to call g++ so that it uses libc++. That's not the same level of

Good to know, but if there's still a risk of having to jump through all kinds of hoops I think I'll hold off :)

>integration you get with clang++ -stdlib=libstdc++, though. See
>http://stackoverflow.com/questions/22228208/using-g-with-libc.
>
>You may want to work with upstream to improve on this.

I'm acting as the voice in the desert for enough (and probably simpler) issues already, esp. if I expect upstream to be less than motivated.

Surely I'm not the only one who's interested in this kind of thing, so upstream can hardly be unaware that there are use-cases of supporting at least 1 other C++ runtime library.

On a related note: would it be very hard to set up the gcc port(s) such that users can indicate which languages they wish to use the compiler for? IIRC gcc's configure script allows you to do just that via an option that receives a list of language codes, so it would guess that language variants could simply construct that option.
A gcc build that only provides fortran (and/or Ada) should be considerably leaner than a build that provides everything, no?

R.


More information about the macports-users mailing list