From: "Stéphane Glondu" <steph@glondu.net>
To: bill yan <Xue-Yang.Yan@Sun.COM>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] What's the purpose of the static library?
Date: Mon, 22 Sep 2008 11:35:08 +0200 [thread overview]
Message-ID: <48D766CC.5020401@glondu.net> (raw)
In-Reply-To: <48D712A8.6090506@sun.com>
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
next prev parent reply other threads:[~2008-09-22 9:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-22 3:36 bill yan
2008-09-22 9:35 ` Stéphane Glondu [this message]
2008-09-23 9:09 ` [Caml-list] " bill yan
2008-09-23 10:17 ` Richard Jones
2008-09-23 11:42 ` Alain Frisch
2008-09-23 12:49 ` Chris Conway
2008-09-24 11:24 ` [Caml-list] " Stefano Zacchiroli
2008-09-24 17:28 ` Richard Jones
2008-09-24 20:09 ` Sylvain Le Gall
2008-09-25 10:58 ` [Caml-list] " bill yan
2008-09-25 11:11 ` Alain Frisch
2008-10-08 3:20 ` bill yan
2008-10-08 3:29 ` bill yan
2008-09-23 10:24 ` Daniel Bünzli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48D766CC.5020401@glondu.net \
--to=steph@glondu.net \
--cc=Xue-Yang.Yan@Sun.COM \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox