Re: .cmx inclusion in modules
Hi all !
Le Sunday 30 March 2008 21:06:13 Stefano Zacchiroli, vous avez écrit :
> 0) post here a proposed policy amendment supporting the above stuff
As it still seems to me a general issue for any package, library or not, I
would propose to add it in section 1.5, in the list of requirements when
installing files:
" * The .cmxa does not contain all the information from the .cmx, in
particular not the inlining information. Hence, you should ship a .cmx file,
when available, for each .cmxa file that is installed."
I could also be possible to include a link to the original discussion.
I used "should", because it is not mandatory but an optimisation.
In the same spirit, it could be a lintian information, based only on file
names, until we come up with a better check, possibly in a ocaml support
package.
Also, this sentence may go directly to section 3 if we feel it's more
appropriate to enforce such thing only for libraries.
And, when I'm at it, the policy shipped at:
/usr/share/doc/ocaml-nox/ocaml_packaging_policy.html/x185.html
Uses paths /usr/local/bin and /usr/local/lib/(...). It doesn't seems correct,
is it ?
Romain
--
while ( love & passion ) {
for( fight = 0 ; rights < freedom ; rights++ )
fight = standup( rights );
free( babylon );
}
Reply to: