How 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: https://www.systutorials.com/5217/how-to-statically-link-c-and-c-programs-on-linux-with-gcc/