Word description Defines a new logical library named name located in the file system at path and the specified ABI. You can find the location of the library via words in alien.libraries.finder. The logical library name can then be used by a LIBRARY: form to specify the logical library for subsequent FUNCTION: definitions.
Notes Because the entire source file is parsed before top-level forms are executed, add-library must be placed within a << ... >> parse-time evaluation block.
This ensures that if the logical library is later used in the same file, for example by a FUNCTION: definition. Otherwise, the add-library call will happen too late, after compilation, and the C function calls will not refer to the correct library.