windows linux mac下erlang nif或者port_driver通用编译脚本
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
SisMaker 9162048729 ft: new eNpc file upload 3 anos atrás
ebin fx: 模块重命名-未修改完全 3 anos atrás
include ft: 模块重命名 防止模块重名 4 anos atrás
src fx: 模块重命名-未修改完全 3 anos atrás
.gitignore 重命令为 eNpc 4 anos atrás
LICENSE Initial commit 5 anos atrás
Makefile 初始化提交 5 anos atrás
README.md 重命令为 eNpc 4 anos atrás
bootstrap ft: 模块重命名 防止模块重名 4 anos atrás
bootstrap.bat 初始化提交 5 anos atrás
eNpc ft: new eNpc file upload 3 anos atrás
eNpc.cmd 重命令为 eNpc 4 anos atrás
rebar.config 初始化提交 5 anos atrás

README.md

Erlang nif port compiler

windows linux mac下erlang nif或者port_driver通用编译脚本
改造自 erlang-native-compiler

Usage

default_env

  1. Clone this repository
  2. Run make in this directory
  3. Copy eNpc to your project "c_src" dir and commit it
  4. Add these (or similar) hooks to your rebar.config:
{pre_hooks, [{"", compile, "escript c_src/eNpc compile"}]}.
{post_hooks, [{"", clean, "escript c_src/eNpc clean"}]}.

After that eNpc should read your old rebar.config port_specs and port_env settings as expected (it is rebar2's port compiler after all...).