Results 1 to 10 of 10

Thread: Portable C Compiler 1.0 Has Been Released

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

    Default Portable C Compiler 1.0 Has Been Released

    Phoronix: Portable C Compiler 1.0 Has Been Released

    Development on the Portable C Compiler (PCC) began back in the 1970's, but this week version 1.0 of this BSD-licensed compiler was finally released...

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

  2. #2
    Join Date
    Dec 2007
    Posts
    144

    Default

    By "faster than gcc" did you mean:
    1) Faster compilation time
    or
    2) Faster compiled code
    ?

    1 wouldn't be that big of a deal these days if 2 wasn't equal to or better.

  3. #3
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,583

    Default

    Quote Originally Posted by psycho_driver View Post
    By "faster than gcc" did you mean:
    1) Faster compilation time
    or
    2) Faster compiled code
    ?

    1 wouldn't be that big of a deal these days if 2 wasn't equal to or better.
    Could be either/or. All depends on what it is compiling.

  4. #4
    Join Date
    Dec 2010
    Posts
    1,116

    Default

    For decades the BSDs were waiting for a non-GPL compiler – hoping for PCC or TenDRA to be finally good enough.

    Now PCC is finally “done” but nobody cares anymore because now there is Clang (LLVM) with many full-time Apple employees working on it and at least FreeBSD set to switch from an ancient GCC version to Clang by FreeBSD 9.

  5. #5
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    258

    Default

    Quote Originally Posted by Awesomeness View Post
    For decades the BSDs were waiting for a non-GPL compiler – hoping for PCC or TenDRA to be finally good enough.

    Now PCC is finally “done” but nobody cares anymore because now there is Clang (LLVM) with many full-time Apple employees working on it and at least FreeBSD set to switch from an ancient GCC version to Clang by FreeBSD 9.
    I wouldn't trust, nor ever use, something developed/backed by Apple, so FreeBSD is slowly but surely becoming a no go zone to me.

  6. #6
    Join Date
    Jan 2010
    Location
    Ghent
    Posts
    207

    Default

    Very cool!

    I am currently trying to set up some AURs for a self-hosting PCC (I was also hoping to make them compile with Bionic* but that seems to fail at the moment)

    The PCC libs compile with no issues with PCC
    https://aur.archlinux.org/packages.php?ID=47877

    I have some problems with compiling PCC itself with PCC though.
    https://aur.archlinux.org/packages.php?ID=47554

    If anyone got ideas how to solve those issues, I would be very happy


    * sort of similar to the uClibc+tcc bundle
    https://aur.archlinux.org/packages.php?ID=47342

    Ps. Bionic is available for Arch
    https://aur.archlinux.org/packages.php?ID=44629
    If anyone knows how to make this thing work nicely as an alternative C library, I would be interested in that too
    Ds.

  7. #7
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,583

    Default

    Quote Originally Posted by susikala View Post
    I wouldn't trust, nor ever use, something developed/backed by Apple, so FreeBSD is slowly but surely becoming a no go zone to me.
    That is really paranoia talking. By doing so you can kiss openCL, CUPS, webkit and LLVM goodbye. (and that's just to start with)

  8. #8
    Join Date
    Oct 2009
    Posts
    845

    Default

    I don't see why you would shun anything just because Apple has a hand in it. LLVM is of great use, particularly it's jit-capabilities which helps fill a void for alot of open source projects and same goes for many of the other projects Apple support. And it's not as if these projects are developed solely by Apple, there are lots of independant contributors so even if Apple (unlikely) would stop submitting their changes as open source there would certainly not mean the end of either project.

    Obviously Apple is not supporting these projects due to the goodness of their hearts, they support permissively licenced projects (bsd, mit) because they can use them in their proprietary commercial solutions, unlike gpl licenced projects. But as long as they keep on sharing the source that's just fine with me.

    As for pcc, last I tried it (granted, quite some time ago) it was fast in compiling but had pretty bad optimization, will be interesting to see how much has changed since then.

  9. #9
    Join Date
    Jul 2009
    Posts
    416

    Default

    I wonder if I can compile my Gentoo system with it.
    I kind of doubt it, but it'd be interesting to see someone try.

  10. #10
    Join Date
    Jan 2010
    Location
    Ghent
    Posts
    207

    Default

    Quote Originally Posted by pvtcupcakes View Post
    I wonder if I can compile my Gentoo system with it.
    I kind of doubt it, but it'd be interesting to see someone try.
    Apparently the FreeBSD kernel can be compiled. Since it was not that much time between the anouncement that Clang could compile FreeBSD and that Clang (sort of) could compile Linux, I suppose it could be worth a shot

    Guessing that it would take some more work though since there are less people working on it.

    The last thing I heard was that OpenBSD was aiming for PCC as their system compiler... I do not know how far they have gotten with that though.

Posting Permissions

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