[erlang-questions] windows

Tuncer Ayaz <>
Wed May 16 21:02:55 CEST 2012


On Mon, May 14, 2012 at 11:04 PM, Tony Rogvall wrote:
>
> On 14 maj 2012, at 22:30, Tuncer Ayaz wrote:
>
> 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
>
> Yes I noticed ;-)
>
> 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?
>
>
> Next time I start windows. Unfortunately this week.

Merged the fix to master.



More information about the erlang-questions mailing list