[MacPorts] #68312: gcc13 C++ library linking error
MacPorts
noreply at macports.org
Wed Oct 4 12:42:29 UTC 2023
#68312: gcc13 C++ library linking error
-----------------------+--------------------
Reporter: haberg-1 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: gcc13 |
-----------------------+--------------------
Comment (by haberg-1):
It linked now. Does the gcc-13 library depend on clang-14? The port gcc13
depends on clang-16, whereas the current release is clang-17.
For the record, the program metalogic-inference mentioned downloads with:
git clone https://git.savannah.gnu.org/git/metalogic-inference.git
Then configure in a parallel directory, in case the dependent GMP is in
/usr/local/, by:
../metalogic-inference/configure CXX=/opt/local/bin/g++-mp-13 CXXFLAGS=-g
CC=/opt/local/bin/gcc-mp-13 CPPFLAGS="-g -I/usr/local/include
-I/opt/local/include" LDFLAGS="-L /usr/local/lib"
For the linking issue discussed here, it suffices to check the directory
src:
cd src && make -j
--
Ticket URL: <https://trac.macports.org/ticket/68312#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list