Buzzard
2007-09-20 03:57:52 UTC
NetBSD和OpenBSD目前以分别在其pkgsrc和src中引入了一个名为pcc的C编译器,该编译器使用BSD授权,目前已可以编译完整的NetBSD
userland代码。不过,目前这个编译器实现的优化能力不多,因此其编译速度是gcc的5-10倍。
下面是osnews上的新闻原文:
BSD-Licensed C Compiler Added to NetBSD, OpenBSD
Anders Magnusson's BSD-licensed pcc compiler has been imported into NetBSD's
pkgsrc and OpenBSD's src tree. Anders wrote to NetBSD's tech-toolchain list: "It
is not yet bug-free, but it can compile the i386 userspace. The big benefit of
it is that it is fast, 5-10 times faster than gcc, while still producing
reasonable code. The only optimization added so far is a multiple-register-class
graph-coloring register allocator, which may be one of the best register
allocators today. Conversion to SSA format is also implemented, but not yet the
phi function. Not too difficult though, after that strength reduction is high on
the list."
userland代码。不过,目前这个编译器实现的优化能力不多,因此其编译速度是gcc的5-10倍。
下面是osnews上的新闻原文:
BSD-Licensed C Compiler Added to NetBSD, OpenBSD
Anders Magnusson's BSD-licensed pcc compiler has been imported into NetBSD's
pkgsrc and OpenBSD's src tree. Anders wrote to NetBSD's tech-toolchain list: "It
is not yet bug-free, but it can compile the i386 userspace. The big benefit of
it is that it is fast, 5-10 times faster than gcc, while still producing
reasonable code. The only optimization added so far is a multiple-register-class
graph-coloring register allocator, which may be one of the best register
allocators today. Conversion to SSA format is also implemented, but not yet the
phi function. Not too difficult though, after that strength reduction is high on
the list."