I assume that you do not need any external function; otherwise, of course, you need binary code.
Yes, the bytecode is resistant to content (and word size) for systems supported by Ocaml.
( - ocamlrun Pervasives, , - Ocaml 4.01 Ocaml 4.02 runtime , YMMV)
, Ocaml , ( boot/ ...) ocamlc - -.
Ocaml , Ocaml Ocaml .
J.Pitrat -, , , boot/ocamlc Ocaml. Ocaml make bootstrap ( , - boot/ocamlc).