Browse thread
[Caml-list] Ocamlmakefile and Lablgtk
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Markus Mottl <markus@o...> |
| Subject: | Re: [Caml-list] Ocamlmakefile and Lablgtk |
On Tue, 13 Nov 2001, Johann Spies wrote: > Cannot find file gtkInit.cmxa > ^^^^^^^^^^^^ > The problem is that it should use gtkInit.cmx. There is no > gtkInit.cmxa (at least in thei Debian distribution). Ok, I see, I thought that we were talking about a library. Try the following instead: OCAMLNLDFLAGS := gtkInit.cmx OCAMLBLDFLAGS := gtkInit.cmo It would certainly be better to have a true library file in the distribution rather than the "naked" compiled module file. > I did not previously understand the difference between .cmx and > .cmxa files. It becomes clearer now. .cmx-files are (natively) compiled implementations of OCaml-modules, .cmxa-files combine several such implementations, i.e. they are library files. Regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr