diff --git a/erlang/rebar.config b/erlang/rebar.config index 0a154c4..63a8045 100644 --- a/erlang/rebar.config +++ b/erlang/rebar.config @@ -79,15 +79,13 @@ , {sim_core, calculate_ea, 5} ]}. -{escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto\n"}. - -{profiles, - [ {'8to9', [{escript_main_app, '8to9'}]} - , {ar, [{escript_main_app, ar}]} - , {as, [{escript_main_app, as}]} - , {ld, [{escript_main_app, ld}]} - , {nm, [{escript_main_app, nm}]} - , {od, [{escript_main_app, od}]} - , {readelf, [{escript_main_app, readelf}]} - , {sim, [{escript_main_app, sim}]} +{profiles, % append "-escript main " so the scripts work even if they are renamed (e.g. prefixed by pdp10-elf-) + [ {'8to9', [{escript_main_app, '8to9'}, {escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto -escript main 8to9\n"}]} + , {ar, [{escript_main_app, ar}, {escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto -escript main ar\n"}]} + , {as, [{escript_main_app, as}, {escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto -escript main as\n"}]} + , {ld, [{escript_main_app, ld}, {escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto -escript main ld\n"}]} + , {nm, [{escript_main_app, nm}, {escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto -escript main nm\n"}]} + , {od, [{escript_main_app, od}, {escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto -escript main od\n"}]} + , {readelf, [{escript_main_app, readelf}, {escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto -escript main readelf\n"}]} + , {sim, [{escript_main_app, sim}, {escript_emu_args, "%%! +sbtu +A1 +Bd -noshell -smp auto -escript main sim\n"}]} ]}.