Discussion:
NetBSD/OpenBSD引入BSD授权的C编译器
(时间太久无法回复)
Buzzard
2007-09-20 03:57:52 UTC
Permalink
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."
Yao Qi
2007-09-25 15:08:35 UTC
Permalink
Post by Buzzard
NetBSD和OpenBSD目前以分别在其pkgsrc和src中引入了一个名为pcc的C编译器,该
编译器使用BSD授权,目前已可以编译完整的NetBSD
userland代码。不过,目前这个编译器实现的优化能力不多,因此其编译速度是
gcc的5-10倍。
The compilation speed is cool. :D
However, few guys will complain on the compilation speed of GCC. IMO,
it is efficient.
Post by Buzzard
下面是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."
IMO, the barrier between open source compiler and commercial compiler is
patent, instead of techniques. Don't know the motivation of the pcc's
developers to write a new compiler. They may need a BSD-licensed
compiler. :)

Best Regards
--
Yao Qi <qiyaoltc AT gmail DOT com> GNU/Linux Developer
http://duewayqi.googlepages.com/

linux: No such file or directory
Buzzard
2007-09-27 02:28:32 UTC
Permalink
On Tue, 25 Sep 2007 23:08:35 +0800, Yao Qi <***@gmail.com> wrote:
--
Post by Yao Qi
Post by Buzzard
NetBSD和OpenBSD目前以分别在其pkgsrc和src中引入了一个名为pcc的C编译器,该
编译器使用BSD授权,目前已可以编译完整的NetBSD
userland代码。不过,目前这个编译器实现的优化能力不多,因此其编译速度是
gcc的5-10倍。
The compilation speed is cool. :D
However, few guys will complain on the compilation speed of GCC. IMO,
it is efficient.
呵呵但是目前来说pcc还只是编译x86的代码,而gcc的优势是支持多种平台,优化和编译速度
方面都表现一般。希望pcc能继承gcc的优点,嘻嘻同时避免那些坏毛病
Post by Yao Qi
Post by Buzzard
下面是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."
IMO, the barrier between open source compiler and commercial compiler is
patent, instead of techniques. Don't know the motivation of the pcc's
developers to write a new compiler. They may need a BSD-licensed
compiler. :)
^_^也许他们打算把BSD的基本系统里面都改成BSD-licensed的东西吧。
或许是因为跟GPL斗嘴太多了,呵呵这次干脆把这个根本性的东西给换掉。
不过好象FreeBSD还没有将pcc移进port,不过看来也是迟早的事情。
如果是我,我到是更喜欢BSD-licesed的编译器
Post by Yao Qi
Best Regards
yong
2007-10-02 08:26:59 UTC
Permalink
gcc是RMS的东西,要弄倒非常困难 :)
Post by Buzzard
--
Post by Yao Qi
Post by Buzzard
NetBSD和OpenBSD目前以分别在其pkgsrc和src中引入了一个名为pcc的C编译器,该
编译器使用BSD授权,目前已可以编译完整的NetBSD
userland代码。不过,目前这个编译器实现的优化能力不多,因此其编译速度是
gcc的5-10倍。
The compilation speed is cool. :D
However, few guys will complain on the compilation speed of GCC. IMO,
it is efficient.
呵呵但是目前来说pcc还只是编译x86的代码,而gcc的优势是支持多种平台,优化和编译速度
方面都表现一般。希望pcc能继承gcc的优点,嘻嘻同时避免那些坏毛病
Post by Yao Qi
Post by Buzzard
下面是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."
IMO, the barrier between open source compiler and commercial compiler is
patent, instead of techniques. Don't know the motivation of the pcc's
developers to write a new compiler. They may need a BSD-licensed
compiler. :)
^_^也许他们打算把BSD的基本系统里面都改成BSD-licensed的东西吧。
或许是因为跟GPL斗嘴太多了,呵呵这次干脆把这个根本性的东西给换掉。
不过好象FreeBSD还没有将pcc移进port,不过看来也是迟早的事情。
如果是我,我到是更喜欢BSD-licesed的编译器
Post by Yao Qi
Best Regards
Buzzard
2007-10-02 10:19:20 UTC
Permalink
不用弄倒,只是代替嘛,作为BSD world的标准编译器。
只是目前来说,gcc支持的平台实在够丰富的,pcc还有很长的路要走,呵呵

On Tue, 02 Oct 2007 16:26:59 +0800, yong <***@enorth.com.cn> wrote:
--
Post by yong
gcc是RMS的东西,要弄倒非常困难 :)
Post by Buzzard
--
Post by Yao Qi
Post by Buzzard
NetBSD和OpenBSD目前以分别在其pkgsrc和src中引入了一个名为pcc的C编译器,该
编译器使用BSD授权,目前已可以编译完整的NetBSD
userland代码。不过,目前这个编译器实现的优化能力不多,因此其编译速度是
gcc的5-10倍。
The compilation speed is cool. :D
However, few guys will complain on the compilation speed of GCC. IMO,
it is efficient.
呵呵但是目前来说pcc还只是编译x86的代码,而gcc的优势是支持多种平台,优化和编译速度
方面都表现一般。希望pcc能继承gcc的优点,嘻嘻同时避免那些坏毛病
Post by Yao Qi
Post by Buzzard
下面是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."
IMO, the barrier between open source compiler and commercial compiler is
patent, instead of techniques. Don't know the motivation of the pcc's
developers to write a new compiler. They may need a BSD-licensed
compiler. :)
^_^也许他们打算把BSD的基本系统里面都改成BSD-licensed的东西吧。
或许是因为跟GPL斗嘴太多了,呵呵这次干脆把这个根本性的东西给换掉。
不过好象FreeBSD还没有将pcc移进port,不过看来也是迟早的事情。
如果是我,我到是更喜欢BSD-licesed的编译器
Post by Yao Qi
Best Regards
yong
2007-10-03 01:09:18 UTC
Permalink
被代替了,就等于弄倒了,但不大可能,RMS为捍卫gcc的地位非拼命不可

不少商业公司也做基于gcc的东西,比如任天堂
Post by Buzzard
不用弄倒,只是代替嘛,作为BSD world的标准编译器。
只是目前来说,gcc支持的平台实在够丰富的,pcc还有很长的路要走,呵呵
--
Post by yong
gcc是RMS的东西,要弄倒非常困难 :)
Post by Buzzard
--
Post by Yao Qi
Post by Buzzard
NetBSD和OpenBSD目前以分别在其pkgsrc和src中引入了一个名为pcc的C编译器,该
编译器使用BSD授权,目前已可以编译完整的NetBSD
userland代码。不过,目前这个编译器实现的优化能力不多,因此其编译速度是
gcc的5-10倍。
The compilation speed is cool. :D
However, few guys will complain on the compilation speed of GCC. IMO,
it is efficient.
呵呵但是目前来说pcc还只是编译x86的代码,而gcc的优势是支持多种平台,优化和编译速度
方面都表现一般。希望pcc能继承gcc的优点,嘻嘻同时避免那些坏毛病
Post by Yao Qi
Post by Buzzard
下面是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."
IMO, the barrier between open source compiler and commercial compiler is
patent, instead of techniques. Don't know the motivation of the pcc's
developers to write a new compiler. They may need a BSD-licensed
compiler. :)
^_^也许他们打算把BSD的基本系统里面都改成BSD-licensed的东西吧。
或许是因为跟GPL斗嘴太多了,呵呵这次干脆把这个根本性的东西给换掉。
不过好象FreeBSD还没有将pcc移进port,不过看来也是迟早的事情。
如果是我,我到是更喜欢BSD-licesed的编译器
Post by Yao Qi
Best Regards
Buzzard
2007-10-05 07:54:55 UTC
Permalink
其实多种选择就可以了。话说回来,就是代替也只是在BSD系统上。
GNU那套东西不会那么容易的,何况linux内核还是基于GCC的

On Wed, 03 Oct 2007 09:09:18 +0800, yong <***@enorth.com.cn> wrote:
--
Post by yong
被代替了,就等于弄倒了,但不大可能,RMS为捍卫gcc的地位非拼命不可
不少商业公司也做基于gcc的东西,比如任天堂
Post by Buzzard
不用弄倒,只是代替嘛,作为BSD world的标准编译器。
只是目前来说,gcc支持的平台实在够丰富的,pcc还有很长的路要走,呵呵
--
Post by yong
gcc是RMS的东西,要弄倒非常困难 :)
Post by Buzzard
--
Post by Yao Qi
Post by Buzzard
NetBSD和OpenBSD目前以分别在其pkgsrc和src中引入了一个名为pcc的C编译器,该
编译器使用BSD授权,目前已可以编译完整的NetBSD
userland代码。不过,目前这个编译器实现的优化能力不多,因此其编译速度是
gcc的5-10倍。
The compilation speed is cool. :D
However, few guys will complain on the compilation speed of GCC. IMO,
it is efficient.
呵呵但是目前来说pcc还只是编译x86的代码,而gcc的优势是支持多种平台,优化和编译速度
方面都表现一般。希望pcc能继承gcc的优点,嘻嘻同时避免那些坏毛病
Post by Yao Qi
Post by Buzzard
下面是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."
IMO, the barrier between open source compiler and commercial compiler is
patent, instead of techniques. Don't know the motivation of the pcc's
developers to write a new compiler. They may need a BSD-licensed
compiler. :)
^_^也许他们打算把BSD的基本系统里面都改成BSD-licensed的东西吧。
或许是因为跟GPL斗嘴太多了,呵呵这次干脆把这个根本性的东西给换掉。
不过好象FreeBSD还没有将pcc移进port,不过看来也是迟早的事情。
如果是我,我到是更喜欢BSD-licesed的编译器
Post by Yao Qi
Best Regards
Loading...