Browse thread
What's the purpose of the static library?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Stéphane_Glondu <steph@g...> |
| Subject: | Re: [Caml-list] What's the purpose of the static library? |
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