Home / C++ / Building static, dynamic libs with clang edit

From https://www.youtube.com/watch?v=xVT1y0xWgww

clang++ -std=c++14 -c -fpic static.cpp
ar rcs libstatic.a static.o
clagn++ -std=c++14 -c -fpic dynamic.cpp
clang++ -shared -o 
Go to index of articles.

Share on