It’s been possible to install and run clang on DragonFly for a long time, of course, and at least build world with it. However, John Marino is putting in significant work to make clang one of the system compilers, replacing the older gcc44 that’s in DragonFly now. (The newer gcc47 stays.) This won’t be part of the next release, but it should be available soon after.
7 Replies to “Clang support in DragonFly”
Comments are closed.
” at least build world with it”
I don’t think this has been true.
I have a working patch that enables clang35 to build world and even then we’ve found alignment issues with the rtld. So I don’t believe anybody has really built world and even if they created all the patches I did, they wouldn’t have been able to boot it and/or use it.
John – it has been true in the past – though it was some time ago.
http://leaf.dragonflybsd.org/mailarchive/kernel/2009-03/msg00067.html
Can you make Dragonfly buildable with it as default? I like Clang.
Bruno – John Marino is working on exactly that – clang as a system compiler. It won’t be in the upcoming release, but probably not long after, given John’s rate of work.
And will replace all GNU utils in base system? Like binutils (gas, ld…) for LLVM toolchain?
Bruno – I dunno. John Marino is ‘marino’ on EFNet #dragonflybsd – if you use IRC, it would be a way to ask and find out his plans.