[erlang-questions] windows
Tony Rogvall
tony@REDACTED
Sun May 13 22:51:37 CEST 2012
On 13 maj 2012, at 20:56, Jesse Gumm wrote:
> Hi Tony,
>
> I spent a lot of time fighting with Windows (Mingw/Msys), Rebar, and
> Erlang to get them all playing nicely together well to generate a
> decent windows release for Nitrogen, and it works pretty reliably now.
>
> You can use my instructions for compiling Nitrogen as a basis for
> getting your stuff working:
> https://github.com/nitrogen/nitrogen/blob/master/rel/overlay/win/README.md
>
Thanks
Installing the (very full installer) msysgit worked
(have not tried all fancy features of rebar yet)
I also stumbled on that I had written a special spec:
{"(win32)","priv/dthread_drv.dll",
["c_src/dthread.c", "c_src/dthread_drv.c"]},
The string "priv/dthread_drv.dll" had the effect that the driver was named ".dll" so
I had some problem finding it :-) using "priv/dthread_drv.so" fixed it (strange ?)
Now it loads and runs under both mingw (msysgit) and werl
/Tony
> -Jesse
>
> On Sun, May 13, 2012 at 8:07 AM, Tony Rogvall <tony@REDACTED> wrote:
>> Dear erlang-ers.
>>
>> Is there anyone on this list that do develop on windows ?
>> How on earth do you do that ? ;)
>>
>> I am trying to get a driver compiled using rebar.
>> rebar is nearly working on MingW but git is not available for MingW, the
>> reason is somewhat bizarre ...
>> rebar is nearly working on cygwin but there is some path problem that result
>> in "access denied".
>>
>> Right now I reverted to using a Makefile with MingW, that after lots of copy
>> and past finally works.
>>
>> Is rebar supposed to be working with cygwin/mingw ?
>>
>> BTW
>> I will NOT install Visual Studio XYZ :-)
>> 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-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
> --
> Jesse Gumm
> Owner, Sigma Star Systems
> 414.940.4866 || sigma-star.com || @jessegumm
"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/20120513/e2136318/attachment.htm>
More information about the erlang-questions
mailing list