NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to determine supported languages in a particular installation of gcc?
On Mon, Sep 16, 2019 at 10:25:37AM +0000, maya%NetBSD.org@localhost wrote:
> I would only count on base GCC for C and C++.
> It should do Objective-C, but as someone who has never written that, I
> couldn't get it to not-crash.
> regular pkgsrc GCC has most of the other languages:
> Fortran: default enabled
> Ada: separate package (gcc5-aux), as it requires binary bootstrap
> Java: older GCC
> Go: default disabled in pkgsrc GCC, as an option
> D: only available since GCC 9, and I only did amd64, might need to
> separately work on i386. GCC 9 is not a package yet, I put a snapshot in
> wip at the time though.
^ Normally, enable-languages is fine. NetBSD base GCC is built in an unusual way, though.
I looked through buildworld.log and through the src tree but couldn't really determine with any assurance what would be in base GCC. "gcc -v" wouldn't reveal. I can't compare with FreeBSD base system, since they use clang, at least on some architectures including i386 and amd64.
I noticed that gcc9 was in FreeBSD ports but not yet in pkgsrc.
I think Linux distros might have fuller gcc support but can't say for sure.
Tom
Home |
Main Index |
Thread Index |
Old Index