From owner-freebsd-current Wed Jan 14 23:03:59 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA05734 for current-outgoing; Wed, 14 Jan 1998 23:03:59 -0800 (PST) (envelope-from owner-freebsd-current) Received: from dan.emsphone.com (dan@dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA05709 for ; Wed, 14 Jan 1998 23:03:42 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.6/8.8.6) id BAA11681; Thu, 15 Jan 1998 01:03:37 -0600 (CST) Message-ID: <19980115010336.51647@emsphone.com> Date: Thu, 15 Jan 1998 01:03:36 -0600 From: Dan Nelson To: Tim Liddelow Cc: Brian Tao , FREEBSD-CURRENT Subject: Re: gcc 2.8.0 References: <34BDA399.2F3F8E92@cybec.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13 In-Reply-To: <34BDA399.2F3F8E92@cybec.com.au>; from "Tim Liddelow" on Thu Jan 15 16:50:17 GMT 1998 X-OS: FreeBSD 2.2-970701-RELENG Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In the last episode (Jan 15), Tim Liddelow said: > Brian Tao wrote: > > Anyone try 'em out yet? > > Nope, but I did try out egcs-1.0.1 and it didn't install seamlessly; > I haven't quite determined whether egcs isn't right or FreeBSD has a > problem. I am interested in the new pentium optimisations and also > the much improved template support for C++. As the back end > optimiser has been improved, C will benefit as well. Hm. I installed egcs + pgcc patches with no errors at all: -rw-rw-r-- 1 dan devel 243986 Jan 5 08:43 egcs-1.0.1-pgcc-1.0.1.diff.gz -rw-rw-r-- 1 dan devel 6700735 Jan 3 17:19 egcs-core-1.0.1.tar.gz -rw-rw-r-- 1 dan devel 1318704 Jan 3 17:19 egcs-g++-1.0.1.tar.gz extracted them, applied the patch, cd'd into the gcc directory (i.e. I did _not_ build the other subdirs), ran ./configure --with-gnu-as --with-gnu-ld --with-exec-prefix=p Then did a make bootstrap LANGUAGES="c c++", then a make install. I haven't tried pgc++ yet, but plain pgcc seems to work. Haven't done any timing tests either, but the few programs I've recompiled don't really feel any faster. $ pgcc -v Reading specs from /usr/local/lib/gcc-lib/i386-unknown-freebsd2.2/pgcc-2.90.23/specs gcc version pgcc-2.90.23 980102 (egcs-1.0.1 release) -Dan Nelson dnelson@emsphone.con