Libraries are not intented for incremental compilation. They are for distributing code in a unit which can be used by programs. And in the case of a shared library, it gives the added benefit of reducing the amount of duplicate code you get in binaries (saving both memory and disk space).

If you want to do incremental compilation, then use -c to generate object files
that you link together when you create the actual executable.

- Jonathan M Davis

Thanks for taking the time to answer. I simply didn't realize that you could pack like 60 modules in to one ".o" object file. But I do now!

Reply via email to