Linked by Thom Holwerda on Sat 15th Sep 2007 20:14 UTC, submitted by deanna
BSD and Darwin derivatives 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."
Thread beginning with comment 271574
To read all comments associated with this story, please click here.
Cool
by aliquis on Sat 15th Sep 2007 20:24 UTC
aliquis
Member since:
2005-07-23

Even if it doesn't generate as fast binaries as gcc does yet it's still nice to see how dedicated (mostly the OpenBSD?) people are to rewrite tools under a BSD license there only GPL alternatives have been available earlier.

RE: Cool
by Oliver on Sat 15th Sep 2007 20:32 in reply to "Cool"
Oliver Member since:
2006-07-15

It's good for freedom of choice too.

Reply Parent Bookmark Score: 12

RE: Cool
by diegocg on Sat 15th Sep 2007 20:37 in reply to "Cool"
diegocg Member since:
2005-07-08

Yeah, it's good to see so many people dedicating so much time to the crucial task of rewriting GPL tools with a BSD license. First it was some basic GNU tools like tar etc, now the compiler. It's clearly what the free BSDs need right now. And its users! How I could live using a GPLed compiler up today?

Edited 2007-09-15 20:39

Reply Parent Bookmark Score: 10

RE[2]: Cool
by Nicholas Blachford on Sat 15th Sep 2007 22:54 in reply to "RE: Cool"
Nicholas Blachford Member since:
2005-07-06

Yeah, it's good to see so many people dedicating so much time to the crucial task of rewriting GPL tools with a BSD license. First it was some basic GNU tools like tar etc, now the compiler.

I thought that myself for about 3 seconds, the competition will be a good thing.

Reply Parent Bookmark Score: 6

RE: Cool
by mindaur on Sat 15th Sep 2007 22:42 in reply to "Cool"
mindaur Member since:
2007-09-04

The PCC is not related to OpenBSD team. The maintainer of compiler is NetBSD developer, however the PPC project is separate from BSDs: http://www.ludd.ltu.se/~ragge/pcc/

Of course, this might change after importing to the OpenBSD userland.

Reply Parent Bookmark Score: 2

RE: Cool
by Temcat on Sun 16th Sep 2007 07:44 in reply to "Cool"
Temcat Member since:
2005-10-18

But what is the practical need for such a compiler? You can use gcc to compile BSD-licensed software (heck, even proprietary software!) with no licensing problems.

Reply Parent Bookmark Score: 3

RE[2]: Cool
by Marcellus on Sun 16th Sep 2007 09:50 in reply to "RE: Cool"
Marcellus Member since:
2005-08-26

Today yes, but are there any guarantees that the next version of GPL says that anything produced with GPL'd software must also be GPL'd in turn? Or the next after that... etc.

Reply Parent Bookmark Score: 0

RE[2]: Cool
by Oliver on Sun 16th Sep 2007 10:04 in reply to "RE: Cool"
Oliver Member since:
2006-07-15

You could e.g. compile the complete NetBSD operating system. Whether you need something different for the ports, e.g. the applications like OpenOffice doesn't matter. Btw. the motivation of the NetBSD people isn't the license, but proper portable code.

Reply Parent Bookmark Score: 1