From: bill yan <Xue-Yang.Yan@Sun.COM>
To: "Stéphane Glondu" <steph@glondu.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] What's the purpose of the static library?
Date: Tue, 23 Sep 2008 17:09:58 +0800 [thread overview]
Message-ID: <48D8B266.4000906@sun.com> (raw)
In-Reply-To: <48D766CC.5020401@glondu.net>
Hi Stéphane,
Thanks a lot for your information. And we'd like to know more about the
OCaml library architectures, like on what situation dynamic libraries
are used, and when static libraries are used, and so on.. Really
appreciate if you could point me to a document that can help on this topic.
Regards,
Bill
Stéphane Glondu 已写入:
> 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,
>
next prev parent reply other threads:[~2008-09-23 9:15 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 ` [Caml-list] " Stéphane Glondu
2008-09-23 9:09 ` bill yan [this message]
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=48D8B266.4000906@sun.com \
--to=xue-yang.yan@sun.com \
--cc=caml-list@inria.fr \
--cc=steph@glondu.net \
/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