great, thanks, so that one works for me just as expected.

though my source for the lib will be written in Nim.

so it looks like I only get this issue when using a DLL generated from the Nim 
compiler, using something like `proc --app:lib c test.nim`

The gcc command generated by nim looks fine to me: `gcc.exe -shared -o test.dll 
nimcache\stdlib_system.o nimcache\test.o`

if you could confirm it, that would be much appreciated.

Reply via email to