Clang support in DragonFly

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”

  1. ” 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.

  2. 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.

  3. And will replace all GNU utils in base system? Like binutils (gas, ld…) for LLVM toolchain?

  4. 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.

Comments are closed.