windows linux mac下erlang nif或者port_driver通用编译脚本
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
SisMaker a36edce079 打印格式调整 vor 5 Jahren
ebin 初始化提交 vor 5 Jahren
include 初始化提交 vor 5 Jahren
src 打印格式调整 vor 5 Jahren
.gitignore 初始化提交 vor 5 Jahren
LICENSE Initial commit vor 5 Jahren
Makefile 初始化提交 vor 5 Jahren
README.md 初始化提交 vor 5 Jahren
bootstrap 初始化提交 vor 5 Jahren
bootstrap.bat 初始化提交 vor 5 Jahren
rebar.config 初始化提交 vor 5 Jahren

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 enc should read your old rebar.config port\_specs and port\_env settings as expected (it is rebar2's port compiler after all...).