Re: FreeBSD and GCC

From: Kris Kennaway (kris_at_obsecurity.org)
Date: 10/20/04

  • Next message: Dancho Penev: "Re: Questions on file descriptors and squid"
    Date: Wed, 20 Oct 2004 09:55:44 -0700
    To: Giorgos Keramidas <keramida@ceid.upatras.gr>
    
    
    

    On Wed, Oct 20, 2004 at 12:42:59PM +0300, Giorgos Keramidas wrote:
    > On 2004-10-20 13:52, Subhro <subhro.kar@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 message: Dancho Penev: "Re: Questions on file descriptors and squid"

    Relevant Pages

    • gcc issue
      ... Gcc has just started acting really funny on me. ... Configured with: FreeBSD/i386 system compiler ... on FreeBSD 5.1 ... get the error message ...
      (comp.unix.bsd.freebsd.misc)
    • gcc issue
      ... Gcc has just started acting really funny on me. ... Configured with: FreeBSD/i386 system compiler ... on FreeBSD 5.1 ... get the error message ...
      (comp.unix.programmer)
    • Re: Cant build -current on a 6.2 box
      ... Configured with: FreeBSD/i386 system compiler ... gcc version 3.4.6 20060305 ... Daniel O'Connor software and network engineer ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-current)
    • GCC default search path
      ... I'm using GCC 3.3.3 here on FreeBSD 5.2.1. ... | Using built-in specs. ... | Configured with: FreeBSD/i386 system compiler ...
      (comp.unix.bsd.freebsd.misc)