you don't need .a or .def to create a .dll with TCC.
tcc -shared foo.c
load it from GCC compiled file with dlopen
LoadLibrary()