Hi andrey,
I have my cross libraries in /home/mpc-release;
Rel.rel
---------------------------------------------------------------------------
{release,
{"MPC_8308_rel", "1.0"},
{erts, "5.10.1"},
[{kernel,"2.16.1"},
{stdlib ,"1.19.1"},
{sasl,"2.3.1"},
{myapp,"1"}]
}.
___________________________________________
when i try systools:make_script("Rel","/home/myprj.../ebin").
output:
myapp: File not found: "
myapp.app"
sasl: No valid version ("2.3.1").app file found, Found file "/usr/local/lib/erlang/lib/sasl-2.3.2/ebin/
sasl.app" with version "2.3.2"
stdlib: No valid version ("1.19.1").app file found.Found file "/usr/local/lib/erlang/lib/stdlib-1.19.2/ebin/
stdlib.app" with version "1.19.2"
kernel: No valid version ("2.16.1") of .app file found.Found file "/usr/local/lib/erlang/lib/kernel-2.16.2/ebin/
kernel.app" with version "2.16.2"
Is it mandatory to have cross libraries in /usr/local... ?
I also tried specifying path in my Rel.rel
---------------------------------------------------------------------------
{release,
{"MPC_8308_rel", "1.0"},
{erts, "5.10.1", "$home/mpc-releasee/erts-5.10.1"},
[{kernel,"2.16.1","$/home/mpc-release/lib/kernel-2.16.1"},
{stdlib ,"1.19.1","$/home/utlemb3/mpc8308-release/lib/stdlib-1.19.1"},
{sasl,"2.3.1", "$/home/utlemb3/mpc8308-release/lib/sasl-2.3.1"},
{myapp,"1"}]
}.
___________________________________________
output:
Syntax error in the release file
error
On Thursday, October 28, 2010 8:10:48 AM UTC+5:30, Andrey Paramonov wrote:
Glad the problem is solved.