I would like to use mciSendString from gcc to build a dll so I need to link to the winmm.dll library.
I tried something like this:
gcc -c -o dllTest.
In the end I was able to get it to work with -lwinmm instead of the big path to the library.