Skip to content

MinGW:Windres

MS resource compiler.

The main difference between using the MS resource tools and the GNU tools is that MS rc generates a ".res" file in a special binary resource format, which can be passed directly to MS link, while the GNU linker ld only supports resources in ".o" (same as ".obj") format (although windres can output in both formats). Therefore, to convert commands like this:

rc foo.rc
link -out:foo.exe foo.obj foo.res

You need something like the following for the GNU tools:

windres foo.rc foores.o
gcc -o foo.exe foo.o foores.o

Furthermore

See also

Favorite site