Ported Libraries chapter from the manual.