How to statically link C and C++ programs

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/

Answered by anonymous.

Leave a Reply

Your email address will not be published. Required fields are marked *