Re: DLLs with Cygwin don't work

2014-06-18 Thread Chris via Digitalmars-d-learn
On Tuesday, 17 June 2014 at 09:51:06 UTC, Chris wrote: The following: 1. created test C-dll in Cygwin (gcc -shared -o hello.dll hello.o) 2. used "implib.exe /s" to create .lib file 3. linked with D program "dmd test.d hello.lib" Compiles, program starts but begins to hang as soon as it calls

DLLs with Cygwin don't work

2014-06-17 Thread Chris via Digitalmars-d-learn
The following: 1. created test C-dll in Cygwin (gcc -shared -o hello.dll hello.o) 2. used "implib.exe /s" to create .lib file 3. linked with D program "dmd test.d hello.lib" Compiles, program starts but begins to hang as soon as it calls the C function (which itself is never executed, no "hello