pcc near 1.0; try on DragonFly?

The pcc compiler is nearing 1.0. (via) This is seen as a gcc alternative, and it’s present in NetBSD/OpenBSD. I recall it didn’t work for DragonFly because of a lack of TLS support… Might be different now, if anyone wants to try.  (see prior mentions on the Digest)

Posted by     Categories: DragonFly, Goings-on, NetBSD, OpenBSD     4 Comments
4 Comments on pcc near 1.0; try on DragonFly?


  1. Hasso says:

    TLS support is there since Feb 2009 AFAIR, thanks to corecode.

  2. matthiasr says:

    Here’s a preliminary patch. Not really tested yet, breaks compatibility with old DFly, but it does compile and can build a working Hello World.

  3. matthiasr says:

    Nevermind, I overlooked lang/pcc-current in pkgsrc, which already has most of this.

  4. matthiasr says:

    All DragonFly patches, including x86_64 support, have been adopted upstream and the recent snapshots and BETAs work out of the box on DFly.

    Note that right now the current version of lang/pcc-current does not yet include this, but it should be updated soon.