windows linux mac下erlang nif或者port_driver通用编译脚本
Não pode escolher mais do que 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 f4216855c3 bug free há 4 anos
ebin 初始化提交 há 5 anos
include 初始化提交 há 5 anos
src bug free há 4 anos
.gitignore 初始化提交 há 5 anos
LICENSE Initial commit há 5 anos
Makefile 初始化提交 há 5 anos
README.md Update README.md há 5 anos
bootstrap 初始化提交 há 5 anos
bootstrap.bat 初始化提交 há 5 anos
erlNpc 适配otp23去掉 otp删除了erl_interface相关lib 修改代码环境变量 há 5 anos
rebar.config 初始化提交 há 5 anos

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 erlNpc 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/erlNpc compile"}]}.
{post_hooks, [{"", clean, "escript c_src/erlNpc clean"}]}.

After that erlNpc should read your old rebar.config port\_specs and port\_env settings as expected (it is rebar2's port compiler after all...).