Copyright (c) Hyperion Entertainment and contributors.
Difference between revisions of "Libraries"
(Added introduction and titles Shared Libraries, Linked Libraries, and Static Libraries. Listed linked libraries and rearranged the page content under the new titles.) |
m |
||
Line 1: | Line 1: | ||
== Introduction == |
== Introduction == |
||
− | A library is a |
+ | A library is a set of related functions and data. For example, the AmigaOS's DOS library contains functions for accessing files and directories, and the Intuition library contains the graphical user interface functions. |
− | There are three types of libraries: '''dynamically-loaded shared libraries''', '''dynamically linked libraries''', and '''static libraries'''. Shared libraries are shared by the running programs - only one copy of a library exists in the memory no matter how many programs are using it. All AmigaOS's libraries are shared libraries. The shared library files can be recognized from the '''.library''' suffix. |
+ | There are three types of libraries: '''dynamically-loaded shared libraries''', '''dynamically linked libraries''', and '''static libraries'''. Shared libraries are shared by the running programs - only one copy of a library exists in the memory, no matter how many programs are using it. All AmigaOS's libraries are shared libraries. The shared library files can be recognized from the '''.library''' suffix. |
− | A dynamically linked library is attached to a program |
+ | A dynamically linked library is attached to a program during the load time, just before the program is executed. Linked library functions can't be shared by programs, and several copies of the library functions may exist in the memory. The linked library files can be recognized from the '''.so''' suffix. |
− | A static library is like linked library except it is attached permanently to a program when it |
+ | A static library is like a linked library except it is attached permanently to a program when it is created. This makes it impossible for the user to update the library the program is using. Static libraries are supplied with programming languages. |
== Shared Libraries == |
== Shared Libraries == |
Revision as of 00:25, 21 September 2018
Contents
Introduction
A library is a set of related functions and data. For example, the AmigaOS's DOS library contains functions for accessing files and directories, and the Intuition library contains the graphical user interface functions.
There are three types of libraries: dynamically-loaded shared libraries, dynamically linked libraries, and static libraries. Shared libraries are shared by the running programs - only one copy of a library exists in the memory, no matter how many programs are using it. All AmigaOS's libraries are shared libraries. The shared library files can be recognized from the .library suffix.
A dynamically linked library is attached to a program during the load time, just before the program is executed. Linked library functions can't be shared by programs, and several copies of the library functions may exist in the memory. The linked library files can be recognized from the .so suffix.
A static library is like a linked library except it is attached permanently to a program when it is created. This makes it impossible for the user to update the library the program is using. Static libraries are supplied with programming languages.
AmigaDOS
- Data Structures
- Program Startup
- Basic Input and Output Programming
- Executing External Programs
- Cooperative Record Locking
- Notification
- Path Name Handling
- Pattern Matching
- Multiple Assigns
- Packets
- Vector-Port
- Hard and Soft Links
- Writing a UserShell
- Device Input and Output
User Interface Libraries
- Screens
- Windows
- Gadgets
- Menus
- Requesters
- Alerts
- Images, Line Drawing and Text
- Input and Output Methods
- Mouse
- Keyboard
- Pointer
- Special Functions
- BOOPSI - Object Oriented Intuition
Graphics Libraries
- Display Database
- Primitives
- Sprites, Bobs and Animation
- Text
- Regions
- Composited Video
- Video Overlay
- Minterms
Additional Libraries
68k Libraries
Third-Party Libraries
Linked Libraries
libao
libbz2
libc
libcairo
libcurl
libdl
libexpat
libfontconfig
libfreetype
libgcc
libgcov
libicudata
libicuuc
libjpeg
libntfs
libogg
libpixman
linpng
libpng12
libpthread
libpython
libSDL
libSDL_gfx
linsqlite
libssl
libstdc++
libvorbis
libvorbisenc
libvorbisfile
libxml
libxslt
libz