简体   繁体   English

Windows上的erlang开发环境

[英]Development environment for erlang on Windows

I have an erlang project that includes NIFs with OS specific functions that work with raw sockets. 我有一个erlang项目,其中包含具有操作系统特定功能的NIF,可以使用原始套接字。 I want to port this project on Windows which means changing the functions in NIFs to work on Windows. 我想在Windows上移植这个项目,这意味着更改NIF中的功能以在Windows上运行。

What is the preferred IDE for erlang programming on Windows? 在Windows上进行erlang编程的首选IDE是什么?

What do I have to set up in order to be able to compile this project? 为了能够编译这个项目,我需要设置什么?

I'd advice to just down load cygwin with its gcc and try to compile your nif as you would on linux. 我建议用它的gcc下载cygwin并尝试像在linux上一样编译你的nif。 There are some instructions on github on how to setup an Windows environment to compile Erlang/OTP, but this is probably overkill for your NIF. github上有一些关于如何设置Windows环境来编译Erlang / OTP的说明,但这对你的NIF来说可能有些过分。

As an IDE I would use whatever you are using on Linux, ie hopefully Emacs :) 作为一个IDE,我会使用你在Linux上使用的任何东西,即希望Emacs :)

Erlang可以在msvc中设置为外部工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM