Previous: Compiling Resources, Up: GNAT and Windows Resources


9.3.5.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' this is done by using the `-largs' option:

    $ gnatmake myprog -largs myres.o