[erlang-questions] How to best debug init.erl?

Peer Stritzinger <>
Thu Apr 19 21:06:48 CEST 2012


On Thu, Apr 19, 2012 at 8:37 PM, Peer Stritzinger <> wrote:
> What do I have to do to rebuild with changes in init.erl ...
> especially for cross building.

Small update to this part: I found

 $ ./otp_build update_preloaded

Which rebuilds the preloaded files but then I get in trouble when I
want to rebuild with

 $ ./otp_build boot -a

I get errors like:

...
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* ERROR:   Trying to cross compile an Erlang/OTP-R15B system with a different
*          Erlang/{"load_mod",error_handler,"error_handler.beam"}
...

Somehow update_preloaded seems to use the wrong Erlang version (my
installed one?)



More information about the erlang-questions mailing list