bill yan a écrit :
I noticed there are some static libraries(.a) installed with ocaml, for example, /usr/lib/ocaml/bigarray.a. What's the purpose of those static libraries? Thanks a lot.
They contain (natively) compiled OCaml code. An OCaml library compiled in native mode (usually) consists of a .a and a .cmxa file, the former containing OCaml-specific information.
They are not to be confused with lib*.a files, which contain compiled C stubs, and are needed for generating native-code executables, and bytecode ones in -custom mode.
Cheers, -- Stéphane _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs