where is the MacPorts gcc?

Kenneth Wolcott kennethwolcott at gmail.com
Sat May 4 04:12:05 UTC 2024


I want to compile some C code using gcc to compare against clang.

This code I want to compile needs gsl/gsl_vector.h so I used -lgsl to
compile with clang and it complained at runtime: "dyld[16321]: missing
symbol called".

what are "ar" and "nm" in the following?

I think "mp" means multiple precision...

find /opt/local/bin -type f -print | grep gcc | grep -v ranlib
/opt/local/bin/arm64-apple-darwin23-gcc-ar-mp-13
/opt/local/bin/gcc-mp-12
/opt/local/bin/arm64-apple-darwin23-gcc-ar-mp-12
/opt/local/bin/gcc-mp-13
/opt/local/bin/arm64-apple-darwin23-gcc-13.2.0
/opt/local/bin/gcc-nm-mp-13
/opt/local/bin/gcc-nm-mp-12
/opt/local/bin/arm64-apple-darwin23-gcc-mp-12
/opt/local/bin/arm64-apple-darwin23-gcc-mp-13
/opt/local/bin/arm64-apple-darwin23-gcc-nm-mp-12
/opt/local/bin/arm64-apple-darwin23-gcc-nm-mp-13
/opt/local/bin/gcc-ar-mp-12
/opt/local/bin/gcc-ar-mp-13
/opt/local/bin/arm64-apple-darwin23-gcc-12.3.0

Thanks,
Ken Wolcott


More information about the macports-users mailing list