Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Files compiled with another version of OCaml
@ 2010-02-10 14:26 Thomas Braibant
  0 siblings, 0 replies; only message in thread
From: Thomas Braibant @ 2010-02-10 14:26 UTC (permalink / raw)
  To: caml-list

Hi list,

I stumbled on the following error message, which was quite obscure to me.

Error while loading "foo.cma": foo.cma is not a bytecode object file.

I finally discovered that the foo.cma file had been compiled some time
ago, when I was still using an earlier version of ocamlc (3.10.2 vs
3.11.1). I wonder if there is any piece of meta-information embedded
in the compiled files (*.cm*), that would allow to inform at once the
user that he/she mix things (something like hash/magic-numbers à la
Coq).

With best regards ,
Thomas Braibant


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-10 14:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-10 14:26 Files compiled with another version of OCaml Thomas Braibant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox