7.4.8.10 Building DLLs with GNAT Project files

There is nothing specific to Windows in the build process. See the ‘Library Projects’ section in the ‘GNAT Project Manager’ chapter of the ‘GPRbuild User’s Guide’.

Due to a system limitation, you cannot create threads under Windows when inside the DllMain routine which is used for auto-initialization of shared libraries, so you can’t have library level tasks in SALs.