Previous: Creating an Ada Spec for the DLL Services, Up: Using DLLs with GNAT

F.8.2 Creating an Import Library

If a Microsoft-style import library API.lib or a GNAT-style import library libAPI.a is available with API.dll you can skip this section. You can also skip this section if API.dll is built with GNU tools as in this case it is possible to link directly against the DLL. Otherwise read on.