Difference between shared object and dll

I have a library that at compile time creates a shared object called libEXAMPLE.so (in the so.le folder) and a dll called EXAMPLE.so (in the dll folder). Two common objects are very similar in size and seem to be exactly the same. Internet cleaning has shown that there may be a difference in how programs use a DLL to resolve a character, as is done with a shared object.

Can you guys help me figure this out?

+4
source share
1 answer

"DLL" is how windows like to call their dynamic library

"SO" is how linux can name its dynamic library

Both have the same goal: dynamically load.

Windows uses the binary PE format, and linux uses ELF.

RE: http://en.wikipedia.org/wiki/Portable_Executable

ELF: http://en.wikipedia.org/wiki/Executable_and_Linkable_Format

+5
source

Source: https://habr.com/ru/post/1444901/


All Articles