From owner-freebsd-current@FreeBSD.ORG Mon Sep 17 21: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 6B05B16A41B for ; Mon, 17 Sep 2007 21:29:50 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-3.dlr.de (smtp-3.dlr.de [195.37.61.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2050113C478 for ; Mon, 17 Sep 2007 21:29:49 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from [192.168.2.100] ([172.21.151.2]) by smtp-3.dlr.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 17 Sep 2007 23:29:48 +0200 Message-ID: <46EEF1DE.50101@dlr.de> Date: Mon, 17 Sep 2007 23:30:06 +0200 From: Hartmut Brandt Organization: German Aerospace Center User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Wilko Bulte References: <46EAA12D.4090207@ludd.ltu.se> <46EEC9AB.2010805@dlr.de> <20070917191306.GA13449@freebie.xs4all.nl> In-Reply-To: <20070917191306.GA13449@freebie.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Sep 2007 21:29:48.0761 (UTC) FILETIME=[DFF90C90:01C7F971] Cc: freebsd-current@freebsd.org, Anders Magnusson 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 21:29:50 -0000 Wilko Bulte wrote: > On Mon, Sep 17, 2007 at 08:38:35PM +0200, 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? >> >> 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 :-( > > Wanna try if that is still the case? I can drag the uPDP 11/73 from my > basement. 2BSD on it and all that. > > 8-) > I've wrote an emulator for the KDJ11A (11/73 I think) more than 10 years ago before I gave my machine to Grog. It runs RSX11M[+], RT11, v[567], 2.11BSD at light speed :-) It's on people.freebsd.org/~harti. Compiles 2.11BSD in less than an hour. It's probably easier than to put up your 11/73 :-) About pcc: I've a z8000 based computer with a Unix System III on which uses pcc as the system compiler. It's so buggy that I wonder how the system even runs. But I suppose these bugs are mostly in the z8000 backend (no sources to check, though). harti