[Mageia-dev] [Bug 5199] Several error with ocaml bytecode compilation in ocaml-xen module

Florent Monnier monnier.florent at gmail.com
Sun Mar 10 21:00:03 CET 2013


2013/3/10, AL13N <alien at rmail.be>:
>> If you don't know just don't delete anything, just provide what the
>> install script did installed.
>> Anyway if there is something installed (by error) it won't have bad
>> effects on the real parts of the lib.
>
> in any case, i'm asking because we do have a policy of remove all static
> libs (.a) and .la files. i just wasn't sure the .a files were static libs in this
> case, or just something completely unrelated.

yes these are static libs (but only a part of the lib)
ocaml only links statically, so all ocaml libs are statically linked,
at least in native compilation (because ocaml can also compile to bytecode)

> but since the others have .so, i think they are static libs.

the .so file are another part of the libs (bindings to C libraries)

> also, usually there are versioned .so files and the .so files themselves
> need to be in -devel; i guess it's not so for ocaml packages...

The main split provide everything to run in bytecode.
bytecode can be either:
- compile to bytecode (as Java does)
- run in interpreted way (similar to Perl or PHP)

The -devel split provide everything to compile in native mode
(make binaries like in C)

This split policy is not specific to Mageia, other distros split like
this, we just do the same.


> did i accidentally reply to a br mail? i thought i put this in the
> bugreport, but i guess i'm not sure?

I don't know, I've only pushed the button "answer".

--


More information about the Mageia-dev mailing list