From owner-freebsd-questions@FreeBSD.ORG Thu Mar 22 20:11:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E32816A400 for ; Thu, 22 Mar 2007 20:11:25 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: from web34406.mail.mud.yahoo.com (web34406.mail.mud.yahoo.com [66.163.178.155]) by mx1.freebsd.org (Postfix) with SMTP id C2CB113C483 for ; Thu, 22 Mar 2007 20:11:24 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: (qmail 9679 invoked by uid 60001); 22 Mar 2007 20:11:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XiGrUNzA237WQgw7+76JQWvimVpGxT2e2arh8qXB3KewCtwTxMI44ZF/2FCVWtXvGdwLQuXUYgBXzt3WBaxrvmIM56YmK9NE5MBZGaXk7C8K/YmXUOyNDFealYXpW6hfW5xSRlirYYGpRSPsWkqZjUeQzxn9cY903qqo331Q7MM= ; Message-ID: <20070322201117.9677.qmail@web34406.mail.mud.yahoo.com> X-YMail-OSG: zvT7cJwVM1k35.DR6siy3l28cDSSGuJ0YsfGMM5srYjELm9LmPiNoKCe0Le9GGWJct2bUt1RVarb3WpKiX97PEmB26m.YJ1oPK2BdwJ22en3UqVaXBS3j2bgHX81kvdXjU4YhaUI1kwzAff9.6VcQSH2pQ-- Received: from [67.189.184.224] by web34406.mail.mud.yahoo.com via HTTP; Thu, 22 Mar 2007 13:11:17 PDT Date: Thu, 22 Mar 2007 13:11:17 -0700 (PDT) From: White Hat To: FreeBSD Users Questions In-Reply-To: <14EBC0DB-7232-4EC1-88F5-BE883002E425@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Updating GCC 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: Thu, 22 Mar 2007 20:11:25 -0000 --- Chuck Swiger wrote: > On Mar 22, 2007, at 12:34 PM, White Hat wrote: > >> Add: > >> > >> CC?= /usr/local/bin/gcc > >> CXX?= /usr/local/bin/g++ > >> > >> ...to /etc/make.conf. You might also find > looking > >> at /usr/ports/Mk/ > >> bsd.gcc.mk to be informative... > > > > Thanks! One other question; why the '?' mark? I was > > Googling for information on gcc, and it listed > 'cxx=' > > sans a question mark in it. > > It means "set CC to this value if it's not already > set to something". > > Some ports already know they need a newer version of > gcc (using > "USE_GCC="), and the "make world" infrastructure to > rebuild the > kernel/userland need to use the system-provided > compiler, so using > the question mark lets things which know better use > the exact > compiler they want. Thanks! I could not find that information anywhere, although I am sure it does exist. ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097