[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2 library packaging questions



On Tue, Jun 12, 2007 at 09:25:12AM +0200, Stefano Zacchiroli wrote:
> It is required if you want to be able to distribute a portable bytecode
> executable (Arch: all) which uses the C stub directly from
> libsyslog-ocaml (which will be Arch: any).  You can avoid it by
> distributing bytecode programs linked in the so called custom mode, but
> such executables are not portable, but rather architecture specific as
> they contain an embedded OCaml bytecode interpreter.

That was my understanding too, but I was confused by the fact that my
bytecode program still worked.  It turns out that I had forgotten that
OCamlMakefile uses "ocamlmklib -custom" by default, and I need to
override that in my Makefile.

-- 
Eric Cooper             e c c @ c m u . e d u



Reply to: