So I'm using gfortran:
-compile with gfortran.exe with the -c option to prooduce .o files
-convert the .res resource file into an object file (.o) with res2coff.exe
-use ld.exe to link the object files mentioned above and MY library file, and some other library files too provided by gfortran...