[erlang-questions] windows

eigenfunction <>
Tue May 15 19:03:47 CEST 2012


I develop on windows+cygwin and Linux in about 50/50. That's one
reason why rebar was a no go for me. On the other hand, sinan works
perfectly in both environment for me. Most of the times, i use the
same code base shared between windows and linux with the same sinan
and i just switch in and out of the virtual machine to test in both
environments.
Just my 2 cents.

On May 14, 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.
>
> 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"
>
> _______________________________________________
> erlang-questions mailing list
> ://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list