From owner-freebsd-ports@FreeBSD.ORG Thu Apr 14 06:32:36 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55724106567C for ; Thu, 14 Apr 2011 06:32:36 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2311A8FC18 for ; Thu, 14 Apr 2011 06:32:35 +0000 (UTC) Received: by pxi6 with SMTP id 6so1149607pxi.17 for ; Wed, 13 Apr 2011 23:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=XU7iKEg8h3FzHmY1bQGDzziT5Mm1Crqfwqw2KB7q+W4=; b=DDhjDfcZdHpDtam47zJ1oCtA+yU1wesa40wF7cJxF+fDyCYRG/PI1NGRitEuwOzG6n BA8UbyI3OMQ9XljGGUgWoMw75rIj22jaCkGuTgLPBIP7+ek/T27Rq6EeF9QiAHS/+eyW ea4SDRHhy+vY44aiLXTR7J7UT65/k6vwIoXhc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=rB84Kt/ZKZi7lDCNLkaXuIBIK+gXZu6XkYD4iXoUP++J/d7zXeOMHz0tFafcJ7EVem CqDyM8Y+eYbNnKG13XL5oULE9Bq0/0FhbtQyi4lu5h+OBk7t+XLUS1BwyUp4vilriLm7 wnPPDP9ydigRKWy8SPO0nE+8BdxAtUUZsw9j8= MIME-Version: 1.0 Received: by 10.68.41.168 with SMTP id g8mr241505pbl.194.1302762755551; Wed, 13 Apr 2011 23:32:35 -0700 (PDT) Received: by 10.68.41.129 with HTTP; Wed, 13 Apr 2011 23:32:35 -0700 (PDT) In-Reply-To: <4DA68D86.3000102@mail.zedat.fu-berlin.de> References: <4DA68D86.3000102@mail.zedat.fu-berlin.de> Date: Thu, 14 Apr 2011 06:32:35 +0000 Message-ID: From: "b. f." To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 Cc: brooks@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Does USE_GCC= 4.5+ also set C++ and Fortran to g++45/46 and gfortran45/46? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 06:32:36 -0000 On 4/14/11, O. Hartmann wrote: > On 04/13/11 20:59, b. f. wrote: > I looked into ports/Mk/bsd.gcc.mk and found that only gcc45 is set in > case of using USE_FORTRAN, not gcc46. It would be nice also having gcc46 > set, since we try to optimise for AVX in the new Intel Sandy-Bridge CPUs > and gcc46 is supoorting new facilities like that. I think that the gcc maintainer will probably switch the default Fortran compiler to gcc46 after gcc46 has been tested a bit longer, and some of the remaining bugs fixed. You could of course switch the default on your own machines. AVX support requires more than just a new compiler and the proper hardware: at the moment, FreeBSD doesn't support AVX, although some outside developers expressed an interest in adding support for it: http://lists.freebsd.org/pipermail/freebsd-arch/2011-March/011167.html but this will probably take some time. b.