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 271678
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Cool
by Temcat on Sun 16th Sep 2007 07:44 UTC 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[3]: Cool
by Marcellus on Sun 16th Sep 2007 09:51 in reply to "RE[2]: Cool"
Marcellus Member since:
2005-08-26

That's supposed to be "won't say" of course.

Reply Parent Bookmark Score: 0

RE[3]: Cool
by gilboa on Sun 16th Sep 2007 12:30 in reply to "RE[2]: Cool"
gilboa Member since:
2005-07-06

If, say, GCC4.5 changes license to GPLv4 that prohibits compiling non-GPL software, take the latest version of GCC4.4 and fork it.
It has been done before. (XFree86 vs. X.org)

- Gilboa

Reply Parent Bookmark Score: 6

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