So, I am trying to get gnatmake to give me a map file for a dll I am building.
But it i resisting every effort to do so. --create-map-file is only for executable, and it does make one for that, but I cannot get it to take for a .dll.
I have tried -M --print-map -M save.map but I am not getting anything to come out.
Thoughts?
You could try to build the DLL using
gnatdll. Here's a (very simplistic) example (without initialization/finalizing code):Makefile
demo.ads
demo.adb
demo.def
output (directory contents after build)