Author Topic: Difference between "Dynamic Link Library" to "Shared library" in project wizard?  (Read 5980 times)

Offline zaazbb

  • Multiple posting newcomer
  • *
  • Posts: 14
hello , everyone.
 who can tell me the Difference between "Dynamic Link Library" to "Shared library" in project wizard?

they all creat *.a and *.dll file. what's the difference between them?

 thanks.

eg: I use the latest ver. CB_20110917_rev7452. :P

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
what's the difference between them?
The DLL wizard is windows only and sets a few specific flags for Windows compilers like MSVC, including a Windows-DLL stub in the code. The shared library allows to create C or C++ libraries and is cross-platform as it does not involve any special (Windows) code / flags.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ