Hello,
I develop CLI C++11 tools that need to run on Mojave and Big Sur.
When I just switched to the latter, I found that adding:Hello, I develop CLI C++11 tools that need to run on Mojave and Big Sur. When I just switched to the latter, I found that adding:
to the clang++ command did the trick, but it is too tied to the present darwin version.
What is the recommended way to build my tools in order for them to run both in Mojave and Big Sur?
Thanks!
I develop CLI C++11 tools that need to run on Mojave and Big Sur.
When I just switched to the latter, I found that adding:Hello, I develop CLI C++11 tools that need to run on Mojave and Big Sur. When I just switched to the latter, I found that adding:
-target=x86_64-apple-darwin20.3.0
to the clang++ command did the trick, but it is too tied to the present darwin version.
What is the recommended way to build my tools in order for them to run both in Mojave and Big Sur?
Thanks!