Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 1998 12:22:27 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Security Mgr." <trouble@webfyre.com>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Egcs and FreeBSd 2.2.7
Message-ID:  <Pine.BSF.4.00.9807281218550.21490-100000@resnet.uoregon.edu>
In-Reply-To: <35BA44DF.6B16791E@webfyre.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9807281218550.21490-100000>