From owner-freebsd-questions Tue Jul 28 12:24:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22574 for freebsd-questions-outgoing; Tue, 28 Jul 1998 12:24:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22492 for ; Tue, 28 Jul 1998 12:24:23 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id MAA00581; Tue, 28 Jul 1998 12:22:27 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 28 Jul 1998 12:22:27 -0700 (PDT) From: Doug White To: "Security Mgr." cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Egcs and FreeBSd 2.2.7 In-Reply-To: <35BA44DF.6B16791E@webfyre.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 25 Jul 1998, Security Mgr. wrote: > OK Wow... it worked....... Using the ports collection > /usr/ports/lang/egcs ive sucessfully built the egcs compiler and did get > it installed...... > > On a whim... and for curiosity sake i then tried to rebuild a 2.2.7 > kernel with egcs... it built with some > minor warning messages and installed.... rebooted and all seems > stable...... > > taking this a step further......... i installed egcs over the default > gcc 2.7.2 and ran a buildworld, > > IT did rebuild everything............. i then ran > installworld........... that also worked........ > > so it seems ive just completely recompiled FreeBSD 2.2.7 with the ports > egcs snapshot, everything runs fine and is stable.......... > IT WORKED......... but should i expect any less from freebsd ;) Huh. Last I head egcs couldn't build a kernel without introducing fatal flaws into it. Perhaps they fixed it. > only thing is it rebuilt the default gcc when i ran makeworld and > installworld re-installed the default gcc 2.7.2 ........ Question can i > uninstall the default gcc package and just use egcs..........???? if so > how would i do this.......... gcc is integrated into the system, so removing it requires some precision file deletion. You wouldn't gain too much in savings, since I think gcc is just these four files: -r-xr-xr-x 1 bin bin 1056768 Mar 24 17:52 /usr/libexec/cc1* -r-xr-xr-x 1 bin bin 1114112 Mar 24 17:52 /usr/libexec/cc1obj* -r-xr-xr-x 1 bin bin 1376256 Mar 24 17:52 /usr/libexec/cc1plus* -r-xr-xr-x 2 bin bin 49152 Mar 24 17:52 gcc* Obviously you have to keep the libraries and include files. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message