caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: bill yan <Xue-Yang.Yan@Sun.COM>
To: "Alain Frisch" <alain@frisch.fr>,
	"Stéphane Glondu" <steph@glondu.net>,
	caml-list@inria.fr, "Richard Jones" <rich@annexia.org>
Subject: Re: [Caml-list] What's the purpose of the static library?
Date: Wed, 08 Oct 2008 11:29:22 +0800	[thread overview]
Message-ID: <48EC2912.7030802@sun.com> (raw)
In-Reply-To: <48EC26F2.7030005@sun.com>

Sorry, I just noticed Richard already answered my question in previous 
email. So Please ignore my previous email. Thanks.

bill yan 已写入:

> Thanks for the help. Another question, It seems *.cma *.cmxa *.a are 
> all native code libraries, why are there so many suffix? Is there any 
> difference between cma, cmxa and a?
>
> Alain Frisch 已写入:
>
>> bill yan wrote:
>>
>>> By my understanding, unlike dlllibrary.so and liblibrary.a give user 
>>> an option to choose compile dynamically or staticly, it seems for 
>>> library.a, user can only choose static method. Does that mean 
>>> "compiled native code" can only be staticly linked to user's 
>>> application?
>>
>>
>>
>> In OCaml 3.11, it will be possible to link native code (found in 
>> library.a or module.o files) into .cmxs files that can be explicitly 
>> loaded at runtime (with the same API as for bytecode Dynlink).
>>
>>
>> Alain
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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


  reply	other threads:[~2008-10-08  3: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 ` [Caml-list] " Stéphane Glondu
2008-09-23  9:09   ` 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 [this message]
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=48EC2912.7030802@sun.com \
    --to=xue-yang.yan@sun.com \
    --cc=alain@frisch.fr \
    --cc=caml-list@inria.fr \
    --cc=rich@annexia.org \
    --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;
as well as URLs for NNTP newsgroup(s).