Re: PCC and FreeBSD in the future?

From: Ed Schouten <ed_at_fxq.nl>
Date: Wed, 17 Oct 2007 20:27:58 +0200
* 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.

-- 
 Ed Schouten <ed_at_fxq.nl>
 WWW: http://g-rave.nl/

Received on Wed Oct 17 2007 - 16:28:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC