clang
boost
https://www.boost.org/
https://blog.csdn.net/vcforever/article/details/8858901
ar
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -fPIC -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wall -Wextra -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_CORE_LIB -I../untitled24 -I. -I../../../../Qt5.14.2/5.14.2/clang_64/lib/QtCore.framework/Headers -I. -I../../../../Qt5.14.2/5.14.2/clang_64/mkspecs/macx-clang -F/Users/jalyzhang/Qt5.14.2/5.14.2/clang_64/lib -o untitled24.o ../untitled24/untitled24.cpp
rm -f libuntitled24.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar cq libuntitled24.a untitled24.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib -s libuntitled24.a
app
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_CORE_LIB -I../untitled9 -I. -I../../../../Qt5.14.2/5.14.2/clang_64/lib/QtCore.framework/Headers -I. -I../../../../Qt5.14.2/5.14.2/clang_64/mkspecs/macx-clang -F/Users/jalyzhang/Qt5.14.2/5.14.2/clang_64/lib -o main.o ../untitled9/main.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/Users/jalyzhang/Qt5.14.2/5.14.2/clang_64/lib -o untitled9 main.o -F/Users/jalyzhang/Qt5.14.2/5.14.2/clang_64/lib -framework QtCore -framework DiskArbitration -framework IOKit
shared
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DUNTITLED25_LIBRARY -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_CORE_LIB -I../untitled25 -I. -I../../../../Qt5.14.2/5.14.2/clang_64/lib/QtCore.framework/Headers -I. -I../../../../Qt5.14.2/5.14.2/clang_64/mkspecs/macx-clang -F/Users/jalyzhang/Qt5.14.2/5.14.2/clang_64/lib -o untitled25.o ../untitled25/untitled25.cpp
rm -f libuntitled25.1.0.0.dylib libuntitled25.dylib libuntitled25.1.dylib libuntitled25.1.0.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/Users/jalyzhang/Qt5.14.2/5.14.2/clang_64/lib -single_module -dynamiclib -compatibility_version 1.0 -current_version 1.0.0 -install_name libuntitled25.1.dylib -o libuntitled25.1.0.0.dylib untitled25.o -F/Users/jalyzhang/Qt5.14.2/5.14.2/clang_64/lib -framework QtCore -framework DiskArbitration -framework IOKit
ln -s libuntitled25.1.0.0.dylib libuntitled25.dylib
ln -s libuntitled25.1.0.0.dylib libuntitled25.1.dylib
ln -s libuntitled25.1.0.0.dylib libuntitled25.1.0.dylib
#cgo LDFLAGS:
https://tonybai.com/2012/09/26/interoperability-between-go-and-c/