From owner-freebsd-current@FreeBSD.ORG Wed Oct 17 22:29:45 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 2E35516A420 for ; Wed, 17 Oct 2007 22:29:45 +0000 (UTC) (envelope-from leimy2k@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id F30A813C467 for ; Wed, 17 Oct 2007 22:29:44 +0000 (UTC) (envelope-from leimy2k@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1644795rvb for ; Wed, 17 Oct 2007 15:29:44 -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=eX1VXTHjKYWiUMvQ0lrL7vl90KGTpM7Gk8TTe/nAoIU=; b=Ql55HVJTcgvB9RivAIQEXVJJey4s485QxDnVAIB4Ja4Fg7ZTIhvE3AAOK6wJdm/lrMR/Cn2dhSV6p9e/HED624cEuyqVxKGhYF/TDQM8lxfciwmrza9l/KBMVbU+upK3HJ0oewSR0qzcQ5EffZOtZh76RbGzI0RtnI/HjUkUmBM= 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=a9M4RNQPhcmzi4B3glpBKTkKDva3320PJ27FVVkMOTUKIr/bS8bLAYa0SULFsl5/LO3KchPsCzkn9Rb7nsmSMcGUhI2S1l+lRERm3xbD2+tLfNSES6Zl9CVr8xulBLPcdPBdsB9RvGfG45Mfr6aT3wkYxB/l3QeaTCxnSA0FMFA= Received: by 10.141.48.10 with SMTP id a10mr4531757rvk.1192660184624; Wed, 17 Oct 2007 15:29:44 -0700 (PDT) Received: by 10.141.197.6 with HTTP; Wed, 17 Oct 2007 15:29:44 -0700 (PDT) Message-ID: <3e1162e60710171529m16828b5ejecaad54d239324f1@mail.gmail.com> Date: Wed, 17 Oct 2007 15:29:44 -0700 From: "David Leimbach" To: "Brooks Davis" In-Reply-To: <20071017220039.GA10642@lor.one-eyed-alien.net> 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> <20071017220039.GA10642@lor.one-eyed-alien.net> 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:29:45 -0000 On 10/17/07, Brooks Davis 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? > > The gcc frontend option is GPL licensed, but the rest of the system is BSD > licensed including the clang frontend (not yet complete). > > -- Brooks > > That's what I thought. By the way, I've been using the gcc front end for a little bit now :-) I was just asking the question trying to figure out if I was going crazy or not. I didn't think it was a fully compatible re-write of the gcc front-end. The prospect of a fully gcc compatible front-end that's BSD licensed was pretty dang exciting for about 3 seconds. Dave