windows linux mac下erlang nif或者port_driver通用编译脚本
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

18 wiersze
602 B

  1. # Erlang nif port compiler
  2. windows linux mac下erlang nif或者port_driver通用编译脚本
  3. 改造自 erlang-native-compiler
  4. ## Usage
  5. default_env
  6. 1. Clone this repository
  7. 1. Run `make` in this directory
  8. 1. Copy `eNpc` to your project "c_src" dir and commit it
  9. 1. Add these (or similar) hooks to your rebar.config:
  10. ```erlang
  11. {pre_hooks, [{"", compile, "escript c_src/eNpc compile"}]}.
  12. {post_hooks, [{"", clean, "escript c_src/eNpc clean"}]}.
  13. ```
  14. 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...).