简体   繁体   English

Rebar3是否从主机OS发布ERTS文件?

[英]Rebar3 release ERTS files from host OS?

I made a release package with rebar3 command: rebar3 as prod release tar 我用rebar3命令制作了一个发行包:rebar3 as prod release tar

The executable files contained in myapp/erts-10.0.1/bin are only .exe ones. myapp / erts-10.0.1 / bin中包含的可执行文件仅是.exe文件。 The files in myapp/bin to start the application are .cmd files. 用于启动应用程序的myapp / bin中的文件是.cmd文件。

The operating system where I'm developing on and have installed Erlang OTP21 (64bit) and Rebar3 is Windows7 (64bit). 我正在开发并安装Erlang OTP21(64位)和Rebar3的操作系统是Windows7(64位)。 I wanted to deliver this package to a linux machine (treat it as a embedded target system). 我想将此软件包交付给linux机器(将其作为嵌入式目标系统进行处理)。 But there is nothing in the release package I can execute on linux. 但是我可以在linux上执行的发行包中没有任何内容。 So I asked myself, if rebar3 (if include_erts is true) only packs/uses the Erlang/OTP files for the ERTS folder in the release package, of the current machine it is installed on. 所以我问自己,如果rebar3(如果include_erts为true)是否仅打包/使用发行包中ERTS文件夹中安装了当前计算机的Erlang / OTP文件。 Is that the case? 是这样吗

And if so, I have to install Erlang/OTP and rebar3 on a linux machine and do the release step again to receive a package with executable files for a linux machine? 如果是这样,我必须在Linux机器上安装Erlang / OTP和rebar3,然后再次执行发布步骤以接收包含Linux机器可执行文件的软件包吗?

Thanks in advance 提前致谢

在不同操作系统上相同的文件是梁文件,它们在lib目录中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM