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

前端 未结 4 1511
时光说笑
时光说笑 2021-02-11 01:32

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
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-11 02:13

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

提交回复
热议问题