Determine minimum OSX version a binary was compiled for

Use otool -l /path/to/binary and inspect the LC_VERSION_MIN_MACOSX load command; specifically, the version field. For example, a binary compiled with the 10.8 SDK with deployment target (-mmacosx-version-min) 10.8 should have an LC_VERSION_MIN_MACOSX like this: Load command 9 cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.8 sdk 10.8 whereas a binary compiled with the 10.8 SDK with deployment … Read more

Catalina C++: Using headers yield error: no member named ‘signbit’ in the global namespace

I’m curious: What compiler are you using? What’s the value of CMAKE_OSX_SYSROOT? I’m fairly convinced this is the result of a wrong CMAKE_OSX_SYSROOT. I had the problem you’re describing when using python bindings for clang (where CMake doesn’t manage the compiler call), but I managed to recreate the error in CMake by doing: set(CMAKE_OSX_SYSROOT “”) … Read more