From: "Knut Flock": > For a few days now I have tried to figure out how to use resource > files to make a simple windows application with tcc.
tcc cannot currently link .res files. However Mike Henning has written a "LinkRes2Exe" tool that you can use to link .res files to an .exe: http://lists.gnu.org/archive/html/tinycc-devel/2006-10/msg00018.html http://lists.gnu.org/archive/html/tinycc-devel/2006-10/msg00019.html http://lists.gnu.org/archive/html/tinycc-devel/2006-10/msg00047.html Note that it requires a dummy statement somewhere in your C code: int dummy __attribute__((section(".rsrc"))); Next tcc version probably will link coff format resources directly (as from 'windres -O coff ...'). --- grischka _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel