Previous: , Up: GNAT and Windows Resources   [Contents][Index]


7.4.6.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