where is the MacPorts gcc?

Ryan Schmidt ryandesign at macports.org
Sat May 4 07:22:01 UTC 2024


On May 3, 2024, at 23:12, Kenneth Wolcott wrote:
> 
> 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".

Since using gcc on macOS is unusual and possibly fraught with its own unique problems, and you encounter the issue with clang as well, let's focus on clang first. 

Can you provide a minimal reproduction recipe? A .c file and the command you used to compile and link it that demonstrates the problem and that we can try on our systems?




More information about the macports-users mailing list