From owner-freebsd-questions@FreeBSD.ORG Tue Aug 14 08:23:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81AD516A41B for ; Tue, 14 Aug 2007 08:23:56 +0000 (UTC) (envelope-from mayday@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id CE6AC13C469 for ; Tue, 14 Aug 2007 08:23:55 +0000 (UTC) (envelope-from mayday@gmx.net) Received: (qmail 5778 invoked by uid 0); 14 Aug 2007 07:57:14 -0000 Received: from 134.2.188.3 by www138.gmx.net with HTTP; Tue, 14 Aug 2007 09:57:13 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" Date: Tue, 14 Aug 2007 09:57:14 +0200 From: "Benjamin Sobotta" In-Reply-To: Message-ID: <20070814075714.210660@gmx.net> MIME-Version: 1.0 References: To: "Charlie Caroff" , freebsd-questions@freebsd.org X-Authenticated: #431110 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/z030YzKLzO9UDSs/D9jhBLNxngfFtODXnpBxlMs H6mybS3LI7z0QFwo7MlhMP1Q214IPF0bXLuA== Content-Transfer-Encoding: 7bit X-GMX-UID: DSSLAQI1a2Aof2KiMXQyk286OWhhakfq Cc: Subject: Re: how to use an upgraded gcc compiler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 08:23:56 -0000 > 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