"Ron Baker, Pluralitas!" <[EMAIL PROTECTED]> writes: > I'm writing and application using mingw. > How does one set the icon for the application that > shows in windows explorer? > Is it something I can put in the source or > is it a post compile (and link) operation?
First create a resource-definition script (.rc file). The file could be as simple as: 1 ICON "foo.ico" (See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/about_resource_files.asp for more details of the .rc file format) then compile it with GNU Binutils' windres utility, eg: windres foo.rc foores.o and link with gcc, eg: gcc -o foo.exe foo.o foores.o Also, you'll probably get more comprehensive and correct answers to mingw questions on their user mailing list: https://lists.sourceforge.net/lists/listinfo/mingw-users http://news.gmane.org/gmane.comp.gnu.mingw.user/ _______________________________________________ gnu-misc-discuss mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-misc-discuss
