Howto compile a static library in linux

Posted by Summer_More_More_Tea on Stack Overflow See other posts from Stack Overflow or by Summer_More_More_Tea
Published on 2010-04-29T04:06:18Z Indexed on 2010/04/29 4:17 UTC
Read the original article Hit count: 296

Filed under:
|

Hi folks:

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. Thanks

Regards.

© Stack Overflow or respective owner

Related posts about gcc

Related posts about static-libraries