Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: LLVM's Clang Now Can Build Itself

  1. #1
    Join Date
    Jan 2007
    Posts
    15,397

    Default LLVM's Clang Now Can Build Itself

    Phoronix: LLVM's Clang Now Can Build Itself

    The Clang compiler that provides a C/Object-C/C++ compiler atop the Low-Level Virtual Machine (LLVM) is now self-hosting, which means Clang can now be used to compile itself. The LLVM developers reached this important milestone where LLVM/Clang can now be used to build Clang with working resulting binaries that can even go on to build another copy of Clang as well. The short announcement of this compiler achievement for LLVM/Clang can be read on the LLVM blog...

    http://www.phoronix.com/vr.php?view=Nzk2Mw

  2. #2
    Join Date
    Jan 2008
    Posts
    772

    Default

    It was able to "build itself" previously in the sense of completing a compile, but it wasn't self-hosting because the C++ support was still too broken for the built compiler to work properly. It's pretty amazing to see how far Clang's C++ support has come.

  3. #3
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,541

    Default

    "Machines making more machines... now that's just plain dumb"

  4. #4
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    Quote Originally Posted by bridgman View Post
    "Machines making more machines... now that's just plain dumb"
    I guess that means that LLVM is completed now? Or at least reached the point of fully working reliably for now?

  5. #5
    Join Date
    Nov 2008
    Posts
    780

    Default

    Quote Originally Posted by V!NCENT View Post
    I guess that means that LLVM is completed now?
    let's see.. gcc has been able to build itself for decades. Is it complete yet?

    LLVM has reached an important milestone, but there's still source code out there it doesn't compile, there's still optimizations to make, features to add etc.

  6. #6
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    No C++ compiler will *ever* be complete

  7. #7
    Join Date
    Mar 2009
    Posts
    141

    Default

    Quote Originally Posted by RealNC View Post
    No C++ compiler will *ever* be complete
    Wait 'til I finish writing my perfect compiler-compiler.

  8. #8
    Join Date
    Oct 2009
    Posts
    845

    Default

    Wow, this is a great step forward. Looks like it's time to do some tests with Clang again, hopefully optimizations like LTO (link time optimization) are not exclusive to the OSX platform anymore.

  9. #9
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    Quote Originally Posted by XorEaxEax View Post
    hopefully optimizations like LTO (link time optimization) are not exclusive to the OSX platform anymore.
    Hm?

    http://gcc.gnu.org/wiki/LinkTimeOptimization

  10. #10
    Join Date
    Aug 2008
    Posts
    233

    Default

    Quote Originally Posted by RealNC View Post
    I think he is speaking about clang, not gcc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •