Copyright (c) Hyperion Entertainment and contributors.
Difference between revisions of "Libraries"
Steven Solie (talk | contribs) |
m |
||
(85 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Introduction == |
== 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. |
||
− | [[Introduction to Amiga System Libraries]] |
||
+ | 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. |
||
− | == AmigaDOS == |
||
+ | |||
+ | 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. |
||
+ | |||
+ | == Shared Libraries == |
||
+ | === AmigaDOS === |
||
[[AmigaDOS Introduction]] |
[[AmigaDOS Introduction]] |
||
− | [[ |
+ | [[DOS Library]] |
+ | :[[AmigaDOS Data Structures|Data Structures]] |
||
+ | :[[Program Startup]] |
||
+ | :[[Basic Input and Output Programming]] |
||
+ | :[[Executing External Programs]] |
||
+ | :[[Cooperative Record Locking]] |
||
+ | :[[Notification]] |
||
+ | :[[Path Name Handling]] |
||
+ | :[[Pattern Matching]] |
||
+ | :[[Multiple Assigns]] |
||
+ | :[[AmigaDOS Packets|Packets]] |
||
+ | :[[AmigaDOS Vector-Port|Vector-Port]] |
||
+ | :[[Hard and Soft Links]] |
||
+ | :[[Writing a UserShell]] |
||
+ | :[[AmigaDOS Device Input and Output|Device Input and Output]] |
||
+ | === User Interface Libraries === |
||
− | [[AmigaDOS Error Messages]] |
||
+ | [[Intuition Library]] |
||
− | [[AmigaDOS Programming]] |
||
+ | :[[Intuition Screens|Screens]] |
||
+ | ::[[Custom_Screen_Type|Custom Screen Type]] |
||
+ | ::[[Public_Screen_Type|Public Screen Type]] |
||
+ | :[[Intuition Windows|Windows]] |
||
+ | ::[[Window Types|Types]] |
||
+ | ::[[Window Structures and Functions|Structures and Functions]] |
||
+ | ::[[Window Communication|Communicating with Intuition]] |
||
+ | ::[[Window Display Preservation|Display Preservation]] |
||
+ | :[[Intuition Gadgets|Gadgets]] |
||
+ | ::[[Boolean_Gadget_Type|Boolean Gadget Type]] |
||
+ | ::[[Proportional_Gadget_Type|Proportional Gadget Type]] |
||
+ | ::[[String_Gadget_Type|String Gadget Type]] |
||
+ | :[[Intuition Menus|Menus]] |
||
+ | ::[[Intuition Classic Menus|Classic Menus]] |
||
+ | ::[[Intuition Menu Class|Menu Class]] |
||
+ | ::[[Intuition Context Menus|Context Menus]] |
||
+ | :[[Intuition Requesters|Requesters]] |
||
+ | :[[Intuition Alerts|Alerts]] |
||
+ | :[[Intuition Images, Line Drawing and Text|Images, Line Drawing and Text]] |
||
+ | ::[[Intuition Images|Images]] |
||
+ | ::[[Intuition Borders|Borders]] |
||
+ | ::[[Intuition Text|Text]] |
||
+ | :[[Intuition Input and Output Methods|Input and Output Methods]] |
||
+ | :[[Intuition Mouse|Mouse]] |
||
+ | :[[Intuition Keyboard|Keyboard]] |
||
+ | :[[Intuition Pointer|Pointer]] |
||
+ | :[[Intuition Special Functions|Special Functions]] |
||
+ | :[[BOOPSI - Object Oriented Intuition]] |
||
+ | ::[[BOOPSI Gadgets]] |
||
+ | ::[[BOOPSI Images]] |
||
+ | ::[[BOOPSI Class Reference]] |
||
− | [[ |
+ | [[Workbench Library]] |
+ | [[Icon Library]] |
||
− | [[AmigaDOS Device Input and Output]] |
||
+ | [[Locale Library]] |
||
− | [[AmigaDOS Filing System]] |
||
+ | [[GadTools Library]] |
||
− | [[AmigaDOS Data Structures]] |
||
+ | :[[GadTools Menus]] |
||
+ | :[[GadTools Gadgets]] |
||
− | [[ |
+ | [[ASL Library]] |
+ | :[[ASL File Requester|File Requester]] |
||
+ | :[[ASL Font Requester|Font Requester]] |
||
+ | :[[ASL Screen Mode Requester|Screen Mode Requester]] |
||
+ | [[Application Library]] |
||
− | == User Interface Libraries == |
||
+ | :[[PrefsObjects]] |
||
+ | [[Preferences]] |
||
− | [[Intuition and the Amiga Graphical User Interface]] |
||
+ | === Graphics Libraries === |
||
− | [[Intuition Screens]] |
||
− | [[ |
+ | [[Graphics Library]] |
+ | :[[Display Database]] |
||
+ | :[[Graphics Primitives|Primitives]] |
||
+ | ::[[Classic Graphics Primitives|Classic Primitives]] |
||
+ | :[[Graphics Sprites, Bobs and Animation|Sprites, Bobs and Animation]] |
||
+ | ::[[Hardware Sprites]] |
||
+ | ::[[Virtual Sprites|Virtual Sprites (VSprites)]] |
||
+ | ::[[Blitter Objects|Blitter Objects (Bobs)]] |
||
+ | :[[Graphics Library and Text|Text]] |
||
+ | :[[Graphics Regions|Regions]] |
||
+ | :[[Graphics Composited Video|Composited Video]] |
||
+ | :[[Graphics Video Overlay|Video Overlay]] |
||
+ | :[[Graphics Minterms|Minterms]] |
||
− | [[ |
+ | [[Layers Library]] |
+ | === Additional Libraries === |
||
− | [[Intuition Menus]] |
||
+ | [[AmigaGuide Library]] |
||
− | [[Intuition Requesters and Alerts]] |
||
+ | [[Camd Library]] |
||
− | [[Intuition Images, Line Drawing and Text]] |
||
+ | [[Commodities Exchange Library]] |
||
− | [[Intuition Input and Output Methods]] |
||
+ | [[Datatypes Library]] |
||
− | [[Intuition Mouse and Keyboard]] |
||
+ | :[[Writing Datatype Classes]] |
||
+ | [[IFFParse Library]] |
||
− | [[Intuition Special Functions]] |
||
+ | :[[Parsing IFF]] |
||
+ | :[[Writing IFF]] |
||
+ | [[Keymap Library]] |
||
− | [[BOOPSI - Object Oriented Intuition]] |
||
− | [[ |
+ | [[Newlib Library]] |
− | [[ |
+ | [[PThreads Library]] |
− | [[ |
+ | [[RealTime Library]] |
− | [[ |
+ | [[Translator Library]] |
+ | [[DiskIO Library|Disk I/O Library]] |
||
− | == Graphics Libraries == |
||
+ | === 68k Libraries === |
||
− | [[Graphics Primitives]] |
||
+ | [[Math Libraries]] |
||
− | [[Graphics Sprites, Bobs and Animation]] |
||
+ | === Third-Party Libraries === |
||
− | [[Graphics Library and Text]] |
||
− | [[ |
+ | [[Expat Library]] |
+ | [[Filesysbox Library]] |
||
− | == Additional Libraries == |
||
+ | == Linked Libraries == |
||
− | [[Camd Library]] |
||
+ | === Audio Libraries === |
||
− | [[Commodities Exchange Library]] |
||
+ | libao |
||
+ | libogg |
||
− | [[Expansion Library]] |
||
+ | libvorbis |
||
− | [[IFFParse Library]] |
||
+ | libvorbisenc |
||
− | [[Keymap Library]] |
||
+ | libvorbisfile |
||
− | [[Math Libraries]] |
||
+ | === C/C++ Programming Language Libraries === |
||
− | [[Translator Library]] |
||
+ | libc |
||
+ | libgcc |
||
− | == Appendices == |
||
+ | libgcov |
||
− | [[Linker Libraries]] |
||
+ | libicudata |
||
− | [[Boopsi Class Reference]] |
||
+ | |||
+ | libicuuc |
||
+ | |||
+ | libstdc++ |
||
+ | |||
+ | === Compression Libraries === |
||
+ | libz |
||
+ | |||
+ | libbz2 |
||
+ | |||
+ | === Database Libraries === |
||
+ | libsqlite |
||
+ | |||
+ | === Dynamic Linking Libraries === |
||
+ | libdl |
||
+ | |||
+ | === File System Libraries === |
||
+ | libntfs |
||
+ | |||
+ | === File Transfer Libraries === |
||
+ | libcurl |
||
+ | |||
+ | libssl |
||
+ | |||
+ | === Graphics Libraries === |
||
+ | libcairo |
||
+ | |||
+ | libfontconfig |
||
+ | |||
+ | libfreetype |
||
+ | |||
+ | libjpeg |
||
+ | |||
+ | libpixman |
||
+ | |||
+ | libpng |
||
+ | |||
+ | libpng12 |
||
+ | |||
+ | libSDL |
||
+ | |||
+ | libSDL_gfx |
||
+ | |||
+ | === Parallel Execution Libraries === |
||
+ | libpthread |
||
+ | |||
+ | === Python Programming Language Libraries === |
||
+ | libpython |
||
+ | |||
+ | === XML Libraries === |
||
+ | libexpat |
||
+ | |||
+ | libxml |
||
+ | |||
+ | libxslt |
||
+ | |||
+ | == Static Libraries == |
||
+ | |||
+ | [[Linker Libraries]] |
Latest revision as of 14:24, 27 March 2019
Contents
- 1 Introduction
- 2 Shared Libraries
- 3 Linked Libraries
- 3.1 Audio Libraries
- 3.2 C/C++ Programming Language Libraries
- 3.3 Compression Libraries
- 3.4 Database Libraries
- 3.5 Dynamic Linking Libraries
- 3.6 File System Libraries
- 3.7 File Transfer Libraries
- 3.8 Graphics Libraries
- 3.9 Parallel Execution Libraries
- 3.10 Python Programming Language Libraries
- 3.11 XML Libraries
- 4 Static Libraries
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
Audio Libraries
libao
libogg
libvorbis
libvorbisenc
libvorbisfile
C/C++ Programming Language Libraries
libc
libgcc
libgcov
libicudata
libicuuc
libstdc++
Compression Libraries
libz
libbz2
Database Libraries
libsqlite
Dynamic Linking Libraries
libdl
File System Libraries
libntfs
File Transfer Libraries
libcurl
libssl
Graphics Libraries
libcairo
libfontconfig
libfreetype
libjpeg
libpixman
libpng
libpng12
libSDL
libSDL_gfx
Parallel Execution Libraries
libpthread
Python Programming Language Libraries
libpython
XML Libraries
libexpat
libxml
libxslt