From owner-freebsd-current@FreeBSD.ORG Wed Oct 17 22:26:19 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 0E2C716A41A for ; Wed, 17 Oct 2007 22:26:19 +0000 (UTC) (envelope-from leimy2k@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id D8B1413C45A for ; Wed, 17 Oct 2007 22:26:18 +0000 (UTC) (envelope-from leimy2k@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1644233rvb for ; Wed, 17 Oct 2007 15:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=6JheaoBLt2t1C/b/CYoH90h8Z2+7++j7fN3T2TMb/5E=; b=eT1Y/HYgsmykI2HOclKTsiPrnbKMhyF0B7LnyRv+zPEkuX9DhO3tkj7nVYICyxa5UN2ciHTbo2y10N8R1BMgeyv6stLmnR6vDGwnqPVGLPXJGyatkRoA/vI8r8j98sd6hr6NWdNcOJexyhoZQmlmriPWeo08lU7PdeqC52z3hHU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qrIQdQ6CyahAlcc/t3DqGc2Ac1kB7KH6/GvXrOJhTa1V5fMyHUkhUaFazewry5IRzWbIZG+SW1A7V+WGYfRErv7dOitgZ6woivqSZJIAINV0aYAaCz7N6P1YzPjh55MdESi1j/p87WkQZ0anszmoifFYpUA7PuyRwo1f4bmCl2U= Received: by 10.141.50.17 with SMTP id c17mr4541036rvk.1192659957359; Wed, 17 Oct 2007 15:25:57 -0700 (PDT) Received: by 10.141.197.6 with HTTP; Wed, 17 Oct 2007 15:25:57 -0700 (PDT) Message-ID: <3e1162e60710171525m6d6b3ecey6b797fa3b245b88@mail.gmail.com> Date: Wed, 17 Oct 2007 15:25:57 -0700 From: "David Leimbach" To: "Steve Kargl" In-Reply-To: <20071017215241.GA97384@troutmask.apl.washington.edu> MIME-Version: 1.0 References: <132802.25776.qm@web33711.mail.mud.yahoo.com> <20071017173941.GT5411@hoeg.nl> <20071017182758.GU5411@hoeg.nl> <20071017203438.GA37057@freebsd.org> <3e1162e60710171428i1c28c7a5ha285a4d4ea8f5ce5@mail.gmail.com> <20071017215241.GA97384@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Roman Divacky , FreeBSD Current , Ed Schouten , 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 22:26:19 -0000 On 10/17/07, Steve Kargl wrote: > > On Wed, Oct 17, 2007 at 02:28:01PM -0700, David Leimbach wrote: > > On 10/17/07, Roman Divacky wrote: > > > > > > 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.. ;) > > > > > > > It's derived from gcc yet BSD licensed? Erm, how? > > It's not derived from gcc. Google appears to broken > in your little corner of the net. > > http://llvm.org/docs/FAQ.html#license Google's not broken at all thanks... First hit for llvm-gcc shows the following. From: http://llvm.org/cmds/llvmgcc.html "The *llvm-gcc* command is the LLVM C front end. It is a modified version of gcc that compiles C/ObjC programs into native objects, LLVM bitcode or LLVM assembly language, depending upon the options." Are dictionaries broken in your little corner of the net? Dave