I've got some source code containing pthreads and want to build it and run it on Windows. I have mingw installed so I think I should be able to. I was getting errors when compiling through Codeblocks and I added "-pthread" under "other linker options" and it helped but I still get the error "mingw32-g++.exe: error: unrecognized option '-pthread'" and the program exits immediately. How can I fix this?