[erlang-questions] windows
Jesse Gumm
gumm@REDACTED
Sun May 13 23:01:43 CEST 2012
Excellent! Glad that helped!
It can become quite cumbersome fighting with MinGW and the multiple
version of `make` (mingw32-make.exe, a downloaded version of
`make.exe` from the msys repo, etc). It's not clear at all,
especially with the names 'netinstaller' and 'fullinstaller', where
the 'netinstaller' is the "more full installer" like you mentioned.
Also, apparently, if you copy msys's copy of make into a normal mingw
installer, it just hangs because there's some DLL dependency. The
documentation is scattered, sparse, and online discussions about msys
and mingw all seem to be referring to old versions that no longer work
as you'd expect.
That first time I got all my stuff to compile with msysgit and rebar
and generating the erlang release - that was a good day. And Tuncer
has been great about accepting patches for Windows rebar and providing
insights into rebar workings.
-Jesse
On Sun, May 13, 2012 at 3:51 PM, Tony Rogvall <tony@REDACTED> wrote:
>
> 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"
>
>
>
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
More information about the erlang-questions
mailing list