Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2011 16:42:01 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-ports@freebsd.org
Subject:   Does USE_GCC= 4.5+ also set C++ and Fortran to g++45/46 and gfortran45/46?
Message-ID:  <4DA5B639.6000606@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DA5B639.6000606>