News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Difference between "Dynamic Link Library" to "Shared library" in project wizard?

Started by zaazbb, November 05, 2011, 04:00:57 AM

Previous topic - Next topic

zaazbb

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

MortenMacFly

Quote from: zaazbb on November 05, 2011, 04:00:57 AM
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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]