On Thu, 01 Feb 2024 23:45:36 +0100, Chun Tian (binghe) wrote: > > And I don't think gprof is available in the MacPorts-installed GCC. > Perhaps that's why Kirill used --disable-gprof when calling "./configure". >
macOS is very Clang oriented and building anything with GCC is tricky. Do not forget that Clang / LLVM was created for Apple :) So, no gprof and no gdb on macOS. And I suggest to forgot about GCC on macOS. It is edge case. P.S. support of GCC isn't that good on macOS, sometimes it doesn't play well with some version of xcode, and as far as I know here no GCC which can be build without additional patches on any macOS. The atlest one almost done, but it requies modern compiler to be built on old OS. -- wbr, Kirill