Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2007 09:57:14 +0200
From:      "Benjamin Sobotta" <mayday@gmx.net>
To:        "Charlie Caroff" <charlie.caroff@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: how to use an upgraded gcc compiler
Message-ID:  <20070814075714.210660@gmx.net>
In-Reply-To: <b103a4480708132332s758251a3gac623c8c12e43f48@mail.gmail.com>
References:  <b103a4480708132332s758251a3gac623c8c12e43f48@mail.gmail.com>

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

> Hi,
> 
> I am running FreeBSD 6.2 Stable.  The gcc version that was compiled in is
> 3.4.6.  I installed gcc 4.04.
> 
> I'm trying to install libxml-ruby, and I need to use gcc 4.0x, apparently.
> How do I use my newly installed gcc 4.04 to compile now?
> 
> Charlie

Hey

Non-system gcc versions are usually called with a trailing version number. So what you might to try is gcc40 or gcc4 or something similar. Search for executables starting with gcc. Something like the above examples should show up.

HTH,

Benjamin



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