Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Shared library
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Formats == Many modern operating systems now use a unified format for their shared libraries and executable files. For example: * [[Microsoft Windows]] uses the [[Portable Executable|Portable Executable (PE)]] format for [[.dll]] files; * operating systems such as [[Oracle Solaris|Solaris]] and other [[System V Release 4]]-based systems, [[Linux]], and the free-software [[BSD]] operating systems use the [[Executable and Linkable Format]] (ELF) for [[.so file|.so]] files; * [[Apple Inc.|Apple's]] [[Darwin (operating system)|Darwin]]-based operating systems, such as [[macOS]] and [[iOS]], use the [[Mach-O]] format for [[.dylib]] files. This offers two main advantages: first, it requires only one loader (building and maintaining a single loader is considered well worth any added complexity). Secondly, it allows an executable file to be used as a shared library (if it has a [[symbol table]]).{{Citation Needed|date=April 2022}} In some older environments such as [[16-bit Windows]] or [[HP Multi-Programming Executive|MPE]] for the [[HP 3000]], significant restrictions were placed on shared library code, such as only allowing stack-based (local) data.{{Citation Needed|date=April 2022}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)