Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2007 19:39:41 +0200
From:      Ed Schouten <ed@fxq.nl>
To:        Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: PCC and FreeBSD in the future?
Message-ID:  <20071017173941.GT5411@hoeg.nl>
In-Reply-To: <132802.25776.qm@web33711.mail.mud.yahoo.com>
References:  <132802.25776.qm@web33711.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--0yP1TEATOxPughaP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've been tracking PCC lately and it looks like development is going at
quite a fast pace and some people are really motivated to work on it
(Otto Moerbeek and Anders Magnusson being the two most active, as fas as
I can say).

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.

I think PCC could serve as a replacement for GCC in the future, but only
for userland utilities first. The problem with library compilation is
that some libraries (like libc) use very compiler specific routines,
like inline assembly, etc.

I'll try the latest PCC snapshot one of these days and see how things
are progressing. Maybe I'll send in some diffs as well. I have to do
this on one of my older systems, as I'm running FreeBSD/amd64 on my main
machine and PCC doesn't support that yet.

Yours,
--=20
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

--0yP1TEATOxPughaP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHFkjd52SDGA2eCwURApHpAJ9gDXAWJ/ENCNSGnDvoFptS6RL7JACffcwo
2qW3UboBgwOfbMGUJo+dpLU=
=V/Kd
-----END PGP SIGNATURE-----

--0yP1TEATOxPughaP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071017173941.GT5411>