From owner-freebsd-current Fri Nov 5 1:24:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 6447515280 for ; Fri, 5 Nov 1999 01:24:50 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id BAA19465 for ; Fri, 5 Nov 1999 01:24:50 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id BAA74280 for current@freebsd.org; Fri, 5 Nov 1999 01:24:50 -0800 (PST) (envelope-from obrien) Date: Fri, 5 Nov 1999 01:24:50 -0800 From: "David O'Brien" To: current@freebsd.org Subject: GCC 2.95.2 testing Message-ID: <19991105012449.A74246@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I've got GCC 2.95.2 working as the base compiler. It is still a little rough, but I wanted to put it in more hands for testing. My Alpha is booting from a GENERIC kernel and world built from gcc 2.95.2. This is one compiler bug in building libreadline, but I have a hack around it. The i386 doesn't fair as well. GENERIC can only be compiled if `ahc0' is removed. This is a call to IA-32 ASM experts to find a fix. I have made two sets of files available: ftp://relay.nuxi.com/pub/FreeBSD/gcc2952-991004.tar.gz ftp://relay.nuxi.com/pub/FreeBSD/gcc2952-991004-sidelines.tar.gz To use ether fetch them and then cd into your version of `/usr/src' and then untar them. `gcc2952-991004' will overwrite your current src/gnu/usr.bin/cc/ and src/gnu/lib/ contents. Using this dist, you can do a full `make world' and wind up with gcc 2.95.2 as your base compiler and the world built with it. `gcc2952-991004-sidelines' will not overwrite any of your existing files. To build it simply: cd /usr/src/gnu/usr.bin/cc.gcc2952 make obj make depend all install cd /usr/src/gnu/lib make -f Makefile.gcc2952 obj make -f Makefile.gcc2952 depend all install Note that this will replace your existing compiler with gcc 2.95.2. So YOU MIGHT WANT TO BACKUP YOUR EXISTING EGCS 1.1.2 COMPILER. The files you'll want to back up are /usr/bin/{cc,c++} /usr/libexec/{cpp,cc1*,f771} /usr/lib/libg2c* /usr/lib/libgcc* /usr/lib/libstdc++.* /usr/lib/libobjc.* /usr/include/g++ There is one casualty of the gcc 2.95.2 compiler -- Objective-C support is currently broken. Enjoy! -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message