From owner-freebsd-current@FreeBSD.ORG Mon Sep 17 20:29:50 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 46F4B16A417 for ; Mon, 17 Sep 2007 20:29:50 +0000 (UTC) (envelope-from ragge@ludd.ltu.se) Received: from samson.dc.luth.se (samson.dc.ltu.se [130.240.112.30]) by mx1.freebsd.org (Postfix) with ESMTP id CF7EC13C458 for ; Mon, 17 Sep 2007 20:29:49 +0000 (UTC) (envelope-from ragge@ludd.ltu.se) Received: from localhost (ragge@localhost [127.0.0.1]) by samson.dc.luth.se (8.12.5/8.12.5) with SMTP id l8HKEMS4002706; Mon, 17 Sep 2007 22:14:23 +0200 (MET DST) X-Authentication-Warning: samson.dc.luth.se: ragge@localhost [127.0.0.1] didn't use HELO protocol Message-ID: <46EEE02F.10409@ludd.ltu.se> Date: Mon, 17 Sep 2007 22:14:39 +0200 From: Anders Magnusson User-Agent: Mail/News 1.5.0.9 (X11/20070124) MIME-Version: 1.0 To: Hartmut Brandt References: <46EAA12D.4090207@ludd.ltu.se> <46EEC9AB.2010805@dlr.de> In-Reply-To: <46EEC9AB.2010805@dlr.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Compiling with another compiler than gcc. 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: Mon, 17 Sep 2007 20:29:50 -0000 Hi, Hartmut Brandt wrote: > Anders Magnusson wrote: >> It is not yet bug-free, but it can compile the i386 userspace. The >> big benefit of it >> (apart from that it's BSD licensed, for license geeks :-) is that it >> is fast, 5-10 times >> faster than gcc, while still producing reasonable code. The only > > When reading the name pcc my first thought was: isn't that the > compiler that was distributed on later Unix V7 tapes? And yes, the > web-page says it is based on that one. I'm quite sure that the > original code had no BSD copyright, so I wonder how it obtained one? > For the rewritten code there is no question, but what for the > remaining original code? Has it been relicensed by the original author? Caldera released it with BSD license some 6 years ago, as part of their "ancient unix". > It's interesting that the compiler is so much faster than gcc. I > remember that it was around 3-5 times slower than the dmr compiler > under V7. This tells a lot about gcc's speed :-( > Yes, and you are remembering correct. And yes, it says something about gcc. Even more interesting is that there are lots of quite slow sanity check code in pcc, despite that it's really fast. -- Ragge