From owner-freebsd-ports@FreeBSD.ORG Wed Apr 13 14:41:58 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 4AC20106564A for ; Wed, 13 Apr 2011 14:41:58 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 0794D8FC13 for ; Wed, 13 Apr 2011 14:41:57 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-ports@freebsd.org with esmtp (envelope-from ) id <1QA1GX-00022g-38>; Wed, 13 Apr 2011 16:41:57 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-ports@freebsd.org with esmtpsa (envelope-from ) id <1QA1GX-00059O-0k>; Wed, 13 Apr 2011 16:41:57 +0200 Message-ID: <4DA5B639.6000606@zedat.fu-berlin.de> Date: Wed, 13 Apr 2011 16:42:01 +0200 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110307 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Subject: 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 List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 14:41:58 -0000 Using a self brewn port of a scientific software package which is intended to use gcc 4.5 or higher, I use "USE_GCC= 4.5+" in the top level Makefile. But I get an error when starting the application: /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/isis/3.2.1/bin/qview not found Building the software without the ports-framework but with explicitely set GCC/G++/GFORTRAN results in a working binary. My question: is USE_GCC setting C++ and Fortran compilers as desired as well as the C compiler? Please set me CC when responding, I'm not subscribing this list. Thanks, Oliver