From owner-freebsd-current Sun Jan 3 09:16:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA14663 for freebsd-current-outgoing; Sun, 3 Jan 1999 09:16:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA14645; Sun, 3 Jan 1999 09:16:05 -0800 (PST) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id DAA08206; Mon, 4 Jan 1999 03:45:39 +1030 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA15403; Mon, 4 Jan 1999 03:45:38 +1030 Date: Mon, 4 Jan 1999 03:45:38 +1030 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Wiliam Woods Cc: FBSD_QUESTIONS , FBSD_CURRENT Subject: Re: pgcc-1.1.1 In-Reply-To: <005501be3737$d091d620$f301040a@c063.beaverton.stream.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 3 Jan 1999, Wiliam Woods wrote: > Anyone here useing pgcc-1.1.1 as their compiler of choice, to replace gcc? I > have been debating playing with this on my "spare" system. > Any reports from someone useing this, good or bad? I use egcs-1.1.1 (on which pgcc is based) to compile most of my stuff here, including the world. There are a few small "gotchas", namely bits of the system which will not compile (for me): lib/libc lib/libc_r lib/libstand games/rogue libexec/rtld-elf games/bs gnu/lib/libg++ gnu/lib/libstdc++ gnu/usr.bin/groff sys/boot/ sys/modules I have a small script which recompiles these using CC and CFLAGS and the system gcc, and then just do my usual make depend/make all -j4 cycle to do the rest. The kernel is also not compilable with egcs due to FreeBSD-specific extensions in our gcc compiler. There are the odd one or two ports I've come across which can't be compiled using egcs, but for the most part it works very nicely. A quick-n-dirty benchmark: # dd if=/dev/random of=/usr2/bigfile bs=1024k count=30 # cp /usr2/bigfile /usr2/bigfile2 # /usr/bin/time gzip-486 -9 /usr2/bigfile 26.06 real 20.46 user 1.17 sys # /usr/bin/time gzip-pent -9 /usr2/bigfile2 23.12 real 18.58 user 1.20 sys i.e. a speedup of about 12% gzip-486 was compiled with the stock gcc, -O2 -mno-486 gzip-pentium was compiled with egcs-1.1.1 from the ports collection, -O2 -mpentium -march-pentium Incidentally, the dd command spammed the heck out of my machine..good DoS, anyone? :) Kris > > Thanks, > > Bill > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > ----- (ASP) Microsoft Corporation (MSFT) announced today that the release of its productivity suite, Office 2000, will be delayed until the first quarter of 1901. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message