windows linux mac下erlang nif或者port_driver通用编译脚本
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

18 lignes
602 B

il y a 5 ans
il y a 4 ans
il y a 5 ans
il y a 4 ans
il y a 5 ans
il y a 4 ans
  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...).