From owner-freebsd-current@FreeBSD.ORG Wed Oct 17 20:34:43 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D09516A419 for ; Wed, 17 Oct 2007 20:34:43 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id B168D13C45B for ; Wed, 17 Oct 2007 20:34:41 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D699C66928B; Wed, 17 Oct 2007 22:34:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fHkuWNOrV-vp; Wed, 17 Oct 2007 22:34:39 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E4DDD669267; Wed, 17 Oct 2007 22:34:38 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l9HKYcuF037949; Wed, 17 Oct 2007 22:34:38 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 17 Oct 2007 22:34:38 +0200 From: Roman Divacky To: Ed Schouten Message-ID: <20071017203438.GA37057@freebsd.org> References: <132802.25776.qm@web33711.mail.mud.yahoo.com> <20071017173941.GT5411@hoeg.nl> <20071017182758.GU5411@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071017182758.GU5411@hoeg.nl> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Current , Abdullah Ibn Hamad Al-Marri Subject: Re: PCC and FreeBSD in the future? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 20:34:43 -0000 On Wed, Oct 17, 2007 at 08:27:58PM +0200, Ed Schouten wrote: > * Ed Schouten 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