Differences between static libraries and dynamic libraries ignoring how they are used by the linker/loader

前端 未结 3 1371
执笔经年
执笔经年 2021-02-11 01:41

I understand how static/dynamic libraries are used by the linker/loader.

  1. However why not have a single type of library file accompanied by compiler flags which in
3条回答
  •  孤街浪徒
    2021-02-11 02:09

    Because they are completely different things. Static libraries are just collections of compiler-generated object code. Dynamic libraries are linked.

提交回复
热议问题