[erlang-questions] windows

Tuncer Ayaz tuncer.ayaz@REDACTED
Mon May 14 22:30:38 CEST 2012


On Sun, May 13, 2012 at 10:44 PM, Tony Rogvall wrote:
> The next thing was that I specified:
>
>      {"(win32)","priv/dthread_drv.dll",
>       ["c_src/dthread.c", "c_src/dthread_drv.c"]},

You don't need that win32 rule.
rebar automatically switches the extension on Windows as follows:
1. priv/foo_drv.so -> priv/foo_drv.dll
2. priv/foo -> priv/foo.exe

> This leads to the (bug?) that the spec ended up as {spec, drv,
> ".dll", ...} the file was linked as .dll, no wonder I could not find
> it :-)

Thanks for the bug report. Can you confirm it's fixed in the ta-dll
branch?



More information about the erlang-questions mailing list