7.4.8.23 Using Resources

To include the resource file in your program just add the GNAT-compatible object file for the resource(s) to the linker arguments. With gnatmake you do this using the -largs switch:

$ gnatmake myprog -largs myres.o