Help with gfortran
Pedro Giffuni
pfg at freebsd.org
Wed Sep 10 03:18:31 UTC 2014
On 09/09/14 21:26, Steve Kargl wrote:
> On Tue, Sep 09, 2014 at 08:23:30PM -0500, Pedro Giffuni wrote:
>> While here, I think it should be possible to drop libstdc++ into an
>> independent port and have all the g++ ports use libc++ by default.
>>
> I'm no expert on this, but I suspect that g++ will be unhappy with
> libc++. libstdc++ and libc++ simply are incompatible.
>
It should be somewhat like using stlport with g++ and libc++
supports the standards well enough that it should just work.
At least the contrary; having libstdc++ work compatibly with
clang, is already possible:
http://clang.llvm.org/cxx_status.html
"Clang's C++11 mode can be used withlibc++ <http://libcxx.llvm.org/>or
with gcc's libstdc++, but patches are needed to makelibstdc++-4.4
<http://clang.llvm.org/libstdc++4.4-clang0x.patch>work with Clang in
C++11 mode. Patches are also needed to makelibstdc++-4.6
<http://clang.llvm.org/libstdc++4.6-clang11.patch>andlibstdc++-4.7
<http://clang.llvm.org/libstdc++4.7-clang11.patch>work with Clang
releases prior to version 3.2 in C++11 mode.thread_localsupport
currently requires the C++ runtime library from g++-4.8 or later."
This said, I am not an expert either.
Pedro.
More information about the freebsd-fortran
mailing list