From owner-freebsd-current@FreeBSD.ORG Mon Jun 2 13:22:03 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76EB9C5F for ; Mon, 2 Jun 2014 13:22:03 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 53BBA246D for ; Mon, 2 Jun 2014 13:22:02 +0000 (UTC) Received: from [192.168.1.70] (d206-75-77-44.abhsia.telus.net [206.75.77.44]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 78F467CCA7 for ; Mon, 2 Jun 2014 13:22:01 +0000 (UTC) Message-ID: <538C7A79.4000304@freebsd.org> Date: Mon, 02 Jun 2014 09:22:01 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: using single gcc compiler References: <3B0F582294DE3E448963BA62DC306AEE31B498D5CF@exchange.mands.hu> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 13:22:03 -0000 On 2014-06-02 08:52, Mark Felder wrote: > On 2014-06-02 07:05, M&S - Krasznai AndrĂ¡s wrote: >> Hi >> >> >> I use freebsd-10 as desktop . >> >> Compiling the system takes ages, and rather long time is spent in >> compiling different gcc compiler versions for various ports, >> e.g. >> - gcc-4.7.3- required by avidemux; >> - gcc-4.6.4_1,1: required by opera,operaplugins, gcc, gcc4.8 >> - gcc 4.8.4_xxx: required by rawtherapee >> >> >> Is there a way to specify that I want to use gcc 4.8.4 for all >> compilations which do not use clang? >> > > Some ports only work with specific versions of GCC. If you believe a > specific port should be able to use GCC 4.8.4 I would recommend testing > it and filing a PR so the port maintainer can confirm and update the port. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" GCC_DEFAULT_VERSION is set to 4.6 in ports/Mk/bsd.gcc.mk Unlike some other default versions, it isn't setup to be able to be overridden from make.conf As Mark mentioned, some applications have a requirement for a specific version of gcc, while others will specify a minimum version (USE_GCC=4.7+) This is why you end up needing all of those versions. You may be able to reduce some of the fragmentation by installing the highest version first, then any app that can use that will, and only those requiring a specific version will pull those in. The root issue is that some apps will just refuse to compile on newer versions of GCC -- Allan Jude