NetBSD-Users archive

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

Re: will netbsd be sticking with gcc?



On Wed, Jun 18, 2014 at 07:40:52AM +0530, Mayuresh Kathe wrote:
> i have heard good things about pcc, mostly, except for perhaps the
> fact that it doesn't yet support all the netbsd platforms which
> gcc does.

And it has no C++ compiler.

We live with several compilers in-tree and try to officialy support
anything sane (even outside the tree, e.g. gcc 4.9 for playstation2
support, but that part is broken currently) - the exact choice depends,
as you note, on the architecture.

If you are building NetBSD for x86 or arm you can choose clang/llvm as
an alternative compiler, and you can compile big parts of NetBSD with pcc.
We are especially looking at pcc for m68k, as some machines (e.g. sun2)
are not able to execute modern gcc at all (or for anything > hello world
type of programs). Gcc is nice for cross-building those ports, but not as
a native compiler shipped with the system.


Martin


Home | Main Index | Thread Index | Old Index