Statically linking C and C++ programs
Posted on In QAHow to statically compile C and C++ projects?
The compiled executable should lead no dynamical library during execution.
I use gcc/g++ to compile the projects.
Check this post: Statically Linking C and C++ Programs on Linux with gcc.