FreeBSD and GCC

Kris Kennaway kris at obsecurity.org
Wed Oct 20 09:55:21 PDT 2004


On Wed, Oct 20, 2004 at 12:42:59PM +0300, Giorgos Keramidas wrote:
> On 2004-10-20 13:52, Subhro <subhro.kar at gmail.com> wrote:
> > On Wed, 20 Oct 2004 09:01:07 +0100, Michael Walker wrote:
> > >
> > > I'm not to familiar with what goes on behind the scenes during the FreeBSD
> > > install process. So please forgive me if this is a dumb question.
> > > Is there any way to install FreeBSD without gcc and later build from the
> > > ports tree, to enable me to keep upto date with the gcc project releases.
> > >
> > > Like I said, I don't know if this is possible, but any replies are
> > > gratefully accepted.
> >
> > Nopes its not possible. However you can very well use the gcc present
> > in the port and use the knob to overwirte the system compiler although
> > that is not recommended.
> 
> It's possible to install the gcc-3.5 port under /usr/local and then set CC
> appropriately in your environment.  This will let select programs build with
> the newer gcc but will keep the system compiler unchanged.
> 
> Overwriting the system compiler might be a serious problem, especially if the
> newly installed proves to be buggy and in need of a replacement but is unable
> to complete a full buildworld cycle.  You would then have to reinstall the
> entire system from the original installation media!

Moreover, you usually can't build FreeBSD with a non-system version of
the gcc compiler.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041020/c000f10c/attachment.bin


More information about the freebsd-questions mailing list