Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
@SatyaNarayan: I use Clang (compiling directly to x86 machine code; I haven't tried LLVM LTO or anything), and it compiles my whole project just fine. The Clang project seems a lot cleaner than GCC - I wouldn't be surprised if bug reports were processed faster for Clang, despite the fact that not as many people use it. Clang's -O3 is also noticeably faster than GCC's -O3, both for compile time and run time, and most benchmarks confirm that.
If only I could get Gentoo to use it as a system compiler...
JamesM wrote:LLVM isn't as hard-tied to the platform's glibc, so you don't need a cross compiler.
The standard library isn't the reason for which people build GCC cross-compilers. If they don't want to link it in, they can just use -ffree-standing. There are two reasons for building a cross-compiler: (1) the target(s) and (2) the ABI (i.e., any initialization prior to main, calling conventions, etc.).
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
SatyaNarayan wrote:so If u find some bug in OS development using Clang then There is no one to help u. So there will be delay in
Clang has many active developers who will be very willing to fix bugs. There's a big company with paid developers working on it, I think it cares about bugs in clang and llvm, because they have it in production use.