[erlang-questions] windows

Tony Rogvall <>
Mon May 14 23:04:40 CEST 2012


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.

Thanks

/Tony


"Installing applications can lead to corruption over time. Applications gradually write over each other's libraries, partial upgrades occur, user and system errors happen, and minute changes may be unnoticeable and difficult to fix"



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120514/1e5c2bbd/attachment.html>


More information about the erlang-questions mailing list