Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 1999 01:24:50 -0800
From:      "David O'Brien" <obrien@NUXI.com>
To:        current@freebsd.org
Subject:   GCC 2.95.2 testing
Message-ID:  <19991105012449.A74246@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991105012449.A74246>