I have a question: How to compile a static library in Linux with gcc
, i.e. I need to compile my source code into a file named out.a. Is it sufficient to simply compile with the command gcc -o out.a out.c
? I'm not quite familiar with gcc
, hope anyone can give me a hand.
↧
How to compile a static library in Linux?
↧