How to create the "midacopy.dll" using MinGW

 

Step 1: Download midacopy.c source code

 

Step 2: Download and install MinGW

 

Step 3: Use the following commands to create the DLL:

 

gcc -c midacopy.c -DBUILD_DLL
gcc -shared -o midacopy.dll midacopy.o -Wl,--out-implib,libstatederivative.a