windows linux mac下erlang nif或者port_driver通用编译脚本
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
SisMaker 1780cc26b6 重命令为 eNpc 4年前
ebin 重命令为 eNpc 4年前
include 初始化提交 5年前
src 重命令为 eNpc 4年前
.gitignore 重命令为 eNpc 4年前
LICENSE Initial commit 5年前
Makefile 初始化提交 5年前
README.md 重命令为 eNpc 4年前
bootstrap 重命令为 eNpc 4年前
bootstrap.bat 初始化提交 5年前
eNpc 重命令为 eNpc 4年前
eNpc.cmd 重命令为 eNpc 4年前
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 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...).