How to make archive ".a" static library files?


#1

I have an Archive Static Library file is called “Web Server.a”. I need to recompile it with my updated .h and .c file in the same name folder “Web Server”. In order to recompile it I was told that I need to use GNU. I used to use Cygwin for my previous project. So, I know some bash programming. However, I am not entirely sure how to make “.a” files. You folks may help me to show me a simple example of doing this please?


#2

It sounds like you’re compiling C code, not Rust code? For Rust code, http://doc.crates.io/manifest.html#building-dynamic-or-static-libraries is how you set up a .a. (with the staticlib option)