Problem with compiling with MinGW while using resources

I use MinGW to compile all my programs. And it appears as it does not recognize resource scripts in a directory. What argument can I pass in the command line to make it load my resources?
I currently use this:
 
gcc [filename] -obin/output.exe -mwindows
You can use windres (part of MinGW) to compile .rc files into object files, which you can then link normally.

windres resource.rc resource.o
Last edited on
Topic archived. No new replies allowed.