18.4.3 Libraries ¶
Vendors may supply libraries to supplement the standard Ada API. If Ada 83
code uses vendor-specific libraries then there are several ways to manage
this in Ada 95 and later versions of the standard:
- If the source code for the libraries (specs and bodies) are
available, then the libraries can be migrated in the same way as the
application.
- If the source code for the specs but not the bodies are
available, then you can reimplement the bodies.
- Some features introduced by Ada 95 obviate the need for library support. For
example most Ada 83 vendors supplied a package for unsigned integers. The
Ada 95 modular type feature is the preferred way to handle this need, so
instead of migrating or reimplementing the unsigned integer package it may
be preferable to retrofit the application using modular types.