PCC and FreeBSD in the future?

Roman Divacky rdivacky at freebsd.org
Wed Oct 17 13:34:43 PDT 2007


On Wed, Oct 17, 2007 at 08:27:58PM +0200, Ed Schouten wrote:
> * Ed Schouten <ed at fxq.nl> wrote:
> > One of the major obstacles for PCC is that it didn't support a way to
> > pack structures in a comfortable way. Most of the FreeBSD userland just
> > built with it. Most of the stuff that didn't compile properly, was
> > related to kernel headers, using __attribute__ stuff, instead of the
> > cdef'd stuff, like __packed. It seems things have changed in the mean
> > time.
> 
> Indeed; PCC now supports _Pragma("packed"). I've attached a patch for
> sys/cdefs.h that should make at least src/bin compile like it should.
> The patch is in no way meant to be complete.

on the other hand llvm-gcc (and clang in the near future) compiles basically
everything out of the box + its highly optimizing (yet still much faster than
gcc) + BSD licensed.. ;)


roman


More information about the freebsd-current mailing list