windows linux mac下erlang nif或者port_driver通用编译脚本
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
SisMaker f4216855c3 bug free 4 년 전
ebin 初始化提交 5 년 전
include 初始化提交 5 년 전
src bug free 4 년 전
.gitignore 初始化提交 5 년 전
LICENSE Initial commit 5 년 전
Makefile 初始化提交 5 년 전
README.md Update README.md 5 년 전
bootstrap 初始化提交 5 년 전
bootstrap.bat 初始化提交 5 년 전
erlNpc 适配otp23去掉 otp删除了erl_interface相关lib 修改代码环境变量 5 년 전
rebar.config 初始化提交 5 년 전

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...).