Dlltoolexe
gcc -shared -o mylib.dll mylib.o -Wl,--output-def,mylib.def dlltool --dllname mylib.dll --def mylib.def --output-lib libmylib.a
DLL-Tool.exe is typically the executable file for a system utility designed to fix "DLL missing" errors on Windows. It scans the Windows Registry and system folders for missing or corrupted Dynamic Link Library (DLL) files and attempts to replace them by downloading the correct versions from an online database. dlltoolexe
gcc -o myapp.exe myapp.c libmylib.a