OCaml and static linking (was old thread: Re: [Fedora-packaging] Issues with Ocaml and Static Linking)

Toshio Kuratomi a.badger at gmail.com
Sat May 26 16:15:44 UTC 2007


On Sat, 2007-05-26 at 15:16 +0100, Richard W.M. Jones wrote:
> Toshio Kuratomi wrote:
> > Could you add something to
> > http://fedoraproject.org/wiki/PackagingDrafts/OCaml
> > about this?
> 
> I've updated that page, and built 8 libraries in that style.
> 

Thanks!  To my un-OCaml eyes, that looks pretty good.  I have one
question:
'''
There are two scripts in the base ocaml package which automatically
calculate the right Requires and Provides for a library. To use them,
just add the following to the spec file: 

%define _use_internal_dependency_generator 0
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
'''

The version of ocaml-find-* scripts that were posted to the list only
appeared to find ocaml requires and provides.  But OCaml can link to C
code as well.  Do we want to turn off the internal_dependency_generator
or do we want to supplement it?

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20070526/8118a6e2/attachment.bin 


More information about the packaging mailing list