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

Re: ocaml without X, how?



On Tue, Mar 09, 2004 at 02:34:42PM -0600, John Goerzen wrote:
> On Tue, Mar 09, 2004 at 09:29:40PM +0100, Sven Luther wrote:
> > On Tue, Mar 09, 2004 at 01:05:41PM -0600, John Goerzen wrote:
> > > Where does the native compiler not work, and why?  I thought that it
> > > just generated C code?
> > 
> > The native code compiler is a real compiler and produces true asm code,
> > and even with more optimization possibilities than C code is able to do,
> 
> Ahh, OK.
> 
> Well there is still another option: ocamlc -custom, which generates a
> native executable, works on all platforms, and doesn't require the ocaml
> packages to run.  I wonder about using it?

Nope, this is evil and counter to anything debian stands for.

Or would you recomend linking C stuff statically in order to get ride of
the need for shared library packages ? 

Also, ocamlc -custom code is no more binary: all, which cause
duplication of almost the same code in many packages, and a heavy burden
to those slower arches.

The only moment when this is a good idea is with packages like advi,
which include C bindings which are not in a separate library.

Friendly,

Sven Luther



Reply to: