Linked by Thom Holwerda on Sat 29th Sep 2007 21:26 UTC, submitted by Chris Lattner
General Development The LLVM Project recently released a new version of their compiler, optimizer and code generators. LLVM includes a drop-in GCC-compatible C/C++ and ObjC compiler, mature optimization technology (including cross file/whole program optimization), and a highly optimizing code generator. For people who enjoy hacking on compilers and runtimes, LLVM provides libraries for implementing custom optimizers and code generators including JIT compiler support. This release is the first to provide beta GCC 4.2 compatibility as well as the new "clang" C/ObjC front-end, which provides capabilities to build source-to-source translators and many other tools.
Thread beginning with comment 275302
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: CLANG GNU's GCC Replacement
by kwag on Sun 30th Sep 2007 02:18 UTC in reply to "RE: CLANG GNU's GCC Replacement"
Member since:

"or we could look at how for 20 years that a project started by Richard Stillman has been an intregal component of BSD kernel distributions"

There's not a *Single* line of GNU/GPL in ANY of the *BSD kernels!
GCC simply *Compiles* the BSD sources and makes binary code.


Reply Parent Score: 5

Johann Chua Member since:

BSD kernel distributions. In other words, the various BSD OSes, which (as you mention) use GCC.

Reply Parent Score: 7

cyclops Member since:

No thank you. You misread me if you *re-read the quote* you will see that it says "BSD kernel distributions" which all contain GCC and Gnome and ... well you get my point, and all are *compiled* with GCC.

I make the point with no smack down. I use a kernel that Thom regularly advertised as *using* code from the BSD kernels, Every Linux based Distribution comes with X(ok not quite BSD).

Although I thank you again for *stressing* a different but supporting point as to why this should not be used in any smack down on different kernel licenses.

I personally think there is more to celebrate with successful open source applications that *compete* with proprietary ones like that of Firefox(under the Mozilla License) or when *binary proprietary blobs* are finally removed that damage all open platforms like that of Gnash by the FSF.

...Its not that I don't care about the license I think their are better points to be made about LLVM as being a replacement for GCC(it isn't check the slides) on BSD distributions. In fact if you click the link and look at the slides you will actually see quite a few *real* advantages to both clang and LLVM over their selected parts of GCC both technical *and* even some related to the license...and some disadvantages.

Edited 2007-09-30 02:45

Reply Parent Score: 4

BluenoseJake Member since:

"No thank you. You misread me if you *re-read the quote* you will see that it says "BSD kernel distributions" which all contain GCC and Gnome"

Actually, Gnome is not part of FreeBSD core, it is part of the ports collection. I cannot comment on the other BSDs, But with FreeBSD it is not part of the distribution. Similar to how Debian and Ubuntu have non-free repositories. It's easy to install, but not installed by default.

Reply Parent Score: 4

SReilly Member since:

I understand where you're coming from but nobody ever said that there's GPL'd code in BSD. In fact, if there was any GPL'd code used in say the NetBSD kernel, it would no longer be BSD.

On the other hand, it is with the help of a fellow opnsource project, namely the GNU C compiler, that other opensource projects, in this case the BSDs, can build they're systems without having to buy expensive compilers. As far as I'm concerned, that's a win-win situation.

I'm happy to hear that there are compilers being release that are more in line with the BSD philosophy, but that hardly means that GCC should not be valued for it's prior usefulness.

Reply Parent Score: 8

Lobotomik Member since:

Pardon me, but it is time to stop propagating this absurd myth.

If there were any GPL code in the NetBSD code, the kernel would still be BSD, but it would be infringing the GPL license until that GPL code was excised. Legal measures could be taken, fines may apply, lawyers would get rich(er), but the BSD license would continue to apply to BSD-licensed code just the same.

Reply Parent Score: 4