https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215193

--- Comment #10 from Gleb Popov <arr...@freebsd.org> ---
(In reply to Konstantin Belousov from comment #7)

Putting USE_GCC=yes into a port makes it link to libstdc++. This can be quickly
verified with devel/rhtvision for example:

% ldd /usr/local/lib/librhtv.so.2.2.1
/usr/local/lib/librhtv.so.2.2.1:
        libstdc++.so.6 => /usr/local/lib/gcc13/libstdc++.so.6 (0x19d1cd400000)

But Mark is right about USES=llvm, it does not use libc++ that comes with a
package, but always links to the base one. I stand corrected there.

However, I'm confused how can the base libc++ be made private. When running

c++ foo.cpp

what library would the resulting binary link to?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to