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?

Recommended Answers

All 2 Replies

Also, there are gcc options such as -static to generate static libraries with GCC which will be passed to AR appropriately. That may be simpler for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.