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

Re: Help on packaging advi (current status)



On Wed, Jan 05, 2005 at 02:57:27PM +0100, Helge Kreutzmann wrote:
> > >    k) In test/, some ocaml code is compiled (e.g., taquin). Is this
> > >       plattform independent, e.g., can this be shipped in an all package?
> > >       If not, than this would defect one of the purposes of the
> > >       package split (disk space saved on the mirrors). Right now I
> > >       assume that it is indeed portable.
> > 
> > If it is bytecode then yet, try running file on them, and see what it says.
> 
> Well, it is a shell script:
> taquin: a /usr/bin/ocamlrun script text executable

Not exactly a shell script, but a ocamlrun script, which means that it is pure
bytecode, and can thus be made arch: all.

> The second line starts some binary data, which kills my terminal if
> cat'ed. (reset cures that)
> 
> According to the man page, 
>        ocamlrun - The Objective Caml bytecode interpreter
> 
> is this bytecode the same as with java, i.e., is it portable? Well,

Sure, but some bytecode can be linked with external libs, using the -custom
flag, and will be arch: any then. This is the case of the main advi binary,
since there was not really much sense to split out the smallish C binding, and
build a true bytecode advi executable, since we still would have to split the
library. It could be done though. 

> I'll most likly try it out later in a testing/unstable alpha or i386
> chroot.

Ok, but it should just work.

Friendly,

Sven Luther



Reply to: