具体的编译过程在这篇bolg中已经有写出:
http://www.cnblogs.com/me-sa/archive/2011/07/05/erlang0003.html
其中的Emakefile文件有错误的地方,正确的应该是:
{
['src/*',
'src/lib/*',
'src/mod/*',
'src/test/*'],
[{i, 'include'},
{outdir, 'ebin'}]}.
要说明的是,使用Emakefile定制编译,进入后先执行
make:all().
进行编译
之后用cd命令进入到编译文件夹
cd("./ebin").
之后才能开始你的helloworld之旅...
这里我没有使用:
"C:\Program Files (x86)\erl5.8.2\bin\erl.exe" -name zen@192.168.1.199 -setcookie abc -make
这个命令,因为貌似编译完成以后命令行就关闭了...