Results 1 to 7 of 7

Thread: Clang To Become The Default FreeBSD Compiler Soon

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    14,294

    Default Clang To Become The Default FreeBSD Compiler Soon

    Phoronix: Clang To Become The Default FreeBSD Compiler Soon

    The GCC to LLVM/Clang transition as the default FreeBSD compiler is set to happen on 4 November...

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

  2. #2
    Join Date
    Sep 2011
    Posts
    91

    Default

    After thinking about it, Clang might be very useful for FreeBSD. Wasn't Arch's PKGBUILD and Gentoo's Ebuild build systems modeled after the BSD "ports system". So, I guess compiling quicker might be a feature for its users (unless I got the concept of the "ports system" completely wrong...).
    Last edited by CTown; 09-13-2012 at 10:14 PM.

  3. #3
    Join Date
    Jun 2010
    Posts
    72

    Default

    You might be right!

  4. #4
    Join Date
    Mar 2012
    Posts
    3

    Default CLANG generated code is much slower than GCC.

    Unfortunately we will have even much slower system than it was so far :P

  5. #5
    Join Date
    Mar 2008
    Posts
    571

    Default

    Quote Originally Posted by chilek View Post
    Unfortunately we will have even much slower system than it was so far :P
    Who cares. Their goal was to not depend on GPL code and it seems they're almost there. Performance is something you can work on, license no. There are companies behind this FreeBSD move.

  6. #6
    Join Date
    Jul 2010
    Posts
    20

    Default

    Quote Originally Posted by chilek View Post
    Unfortunately we will have even much slower system than it was so far :P
    I believe that Clang can generate faster code than the GCC 4.2 series that FreeBSD has used so far so no, it won't result in a slower system, it will be a system that runs somewhat faster, builds much faster and has much better build diagnostics. I don't know if FreeBSD can be built with the latest GCC 4.7+ but if it can, you can always use that if you are after speed.

  7. #7
    Join Date
    Dec 2010
    Posts
    1,111

    Default

    Quote Originally Posted by chilek View Post
    Unfortunately we will have even much slower system than it was so far :P
    How much slower is a Clang-compiled OpenOffice compared to a GCC-compiled OpenOffice when opening a 30 pages long document?

Posting Permissions

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