[
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: | 2003-11-27 (12:14) |
From: | Markus Mottl <markus@o...> |
Subject: | Re: [Caml-list] OCamlMake and cmo files |
On Thu, 27 Nov 2003, Flavio wrote: > and the error is > ocamlc -I +lablgtk2 lablgtk.cma gtkInit.cma -o editor editor.cmo > Cannot find file gtkInit.cma > > Right, the file is gtkInit.cmo but if i add the extension to the > filename it tells: Cannot find file gtkInit.cmo.cma There is a good reason why this is handled this way: the extension differs for byte- and native code libraries. If you want to link anything that is only available in byte code (or pass special flags to the byte code linker), just use the variable OCAMLBLDFLAGS (see README in the distribution for details). Everything you put in there will be passed verbatim in the linking stage. Regards, Markus Mottl -- Markus Mottl http://www.oefai.at/~markus markus@oefai.at ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners