*BSD News Article 80283


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!nntp.primenet.com!news.sprintlink.net!news-peer.sprintlink.net!server1.nw.ixe.net!server1.adam.ixe.net!wirehub!sun4nl!news.simplex.nl!usenet
From: "Felix A. Croes" <felix@simplex.nl>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: installing latest gcc
Date: Wed, 09 Oct 1996 12:52:28 +0200
Organization: Dworkin
Lines: 30
Message-ID: <325B83EC.41C67EA6@simplex.nl>
References: <53dej5$ho@turbocat.turbocat.de> <SOUVA.96Oct8173159@aibn58.astro.uni-bonn.de>
NNTP-Posting-Host: dworkin.simplex.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; NetBSD 1.2 i386)

Ignatios Souvatzis wrote:
> 
> In article <53dej5$ho@turbocat.turbocat.de> dave@turbocat.de (David
> Wetzel) writes:
> 
>    When I install the latest gcc, can I build kernels with it?
>    Or must the old be kept?
> 
> Use /usr/src/gnu/usr.bin/gcc/gcc2netbsd to build the NetBSD version of
> (mostly) Makefiles.
> 
> And we have some changes which might not be yet available from public
> gcc distributions (although they are submitted to the gcc
> maintainer). E.g., a m68k gcc without the -m68060 switch can't compile
> a NetBSD/AMiga kernel which would start up on a 68060 machine.

Actually, it is much easier to upgrade to 2.7.2.1 using the diffs,
rather
than the full tarfile distribution.  2.7.2.1 only contains some fixes
for
serious bugs.  All of these bugs still exist in NetBSD's gcc 2.7.2.

On applying them to the gcc that came with NetBSD 1.2, I noticed that
it wasn't enough to compile gcc 2.7.2.1 with gcc 2.7.2; recompiling
again with 2.7.2.1 gave different binaries.  So the bugs in 2.7.2
potentially
affect gcc itself, as well as all programs compiled with it.

Regards,
Felix Croes