Version française
Home     About     Download     Resources     Contact us    
Browse thread
What's the purpose of the static library?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: bill yan <Xue-Yang.Yan@S...>
Subject: Re: [Caml-list] What's the purpose of the static library?
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