FreeBSD CLang/LLVM项目终于进svn了

| 6 Comments

如题。

不过这一次因为-CURRENT code slush的缘故,应该不会在 8.0-CURRENT 里面引入了(Ed在svn里面建立了另一个branch来做)。我想从各方面考虑,9.0-RELEASE里面正式砍掉gcc那一套东西应该不会是很困难的事情。传统上 FreeBSD 的代码用到了很多gcc的扩展,因此可能还需要一段时间。

包含CLang的FreeBSD -CURRENT可以在 projects/clangbsd/ checkout。包含 CLang 的 LLVM 预计将能够在今年9月正式发布。

6 Comments

It would be really good if it happens as soon as possible. GCC sometimes contaminates BSD core as well as Darwin..

cheers,
- yxh

I'm pretty curious what GCC extension are used in FreeBSD? like regparam?

Do you guys only have C code? Clang does not work so well on C++ programs..

Assembler like llc works pretty well on x86.

Writing yet another debugger does not take too much time, but nobody wants to reinvent the wheel since they have GDB. On the other hand, LLVM does not handle debug information very well during IPO, which is a very painful fact you have to accept.

So what you saying is there are not many C++ code in FreeBSD, but you only need a compiler which can bootstrap itself?

llvm/clang是不是包含as,ld? 至少在i386/amd64下?还是就算base用了clang我们还离不开GNU的as,ld?

Leave a comment

About this Entry

This page contains a single entry by Xin LI published on June 3, 2009 2:12 AM.

绝对外行才会说和相信"绝对安全"这种说法 was the previous entry in this blog.

驱动程序是什么 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.01