R9B and escript
david wallin
david.wallin@REDACTED
Tue Oct 22 17:39:23 CEST 2002
Hi all,
I wrote a small escript that doesn't seem to work under R9B, it used to
work fine with R8 and the escript version available from Joe Armstrongs
webpage (www.sics.se/~joe/escript-4.1.tgz). The error message I get is :
{boot_code_loader,opps1,{'$gen_call',{<0.0.0>,#Ref<0.0.0.11>},{add_paths,first,["/home/wallind/workarea/adhoc-ge/ebin","/home/wallind/workarea/bench/ebin","/home/wallind/workarea/aco-bnf/ebin"]}}}
And the interesting part of the code is:
main([File]) ->
io:format("AdHOC domain: ~p\n", [File]),
GE_EBIN="/home/wallind/workarea/adhoc-ge/ebin",
BENCH_EBIN="/home/wallind/workarea/bench/ebin",
BNF_EBIN="/home/wallind/workarea/aco-bnf/ebin",
code:add_pathsa([GE_EBIN, BENCH_EBIN, BNF_EBIN]),
adhoc_main:start(File),
receive
done -> ok
end ;
main(_) ->
usage().
any ideas ?
--david.
More information about the erlang-questions
mailing list