caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] building an lablgtk with ocamlbuild 3.11
@ 2012-07-13 11:47 Ivan
  2012-07-13 12:09 ` Adrien
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan @ 2012-07-13 11:47 UTC (permalink / raw)
  To: caml-list

In general the question is stated in the topic.  But I will be happy, if someone can help me to compile  with ocamlbuild at least an example from here http://gtk-extras.forge.ocamlcore.org/configwin.en.html. I've managed to build it without ocamlbuild with the following command:

ocamlfind ocamlc -o example.x -package cameleon.configwin -linkpkg gui.ml

Is it possible to "convert" this comand to ocamlbuild command, without installing any plugins or upgrading.

BTW, I am using debian 6.0.5 (squeeze).

Thanks in advance!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] building an lablgtk with ocamlbuild 3.11
  2012-07-13 11:47 [Caml-list] building an lablgtk with ocamlbuild 3.11 Ivan
@ 2012-07-13 12:09 ` Adrien
  0 siblings, 0 replies; 2+ messages in thread
From: Adrien @ 2012-07-13 12:09 UTC (permalink / raw)
  To: Ivan; +Cc: caml-list

Hi,

As far as I remember, with 3.11's ocamlbuild, there is no support for
ocamlfind. To solve this, you can either:
- have a myocamlbuild.ml file (there is a good one for ocamlfind support)
- use "ocamlfind query" before calling ocamlbuild to determine a
number of compile and link flags

-- 
Adrien Nader

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-13 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-13 11:47 [Caml-list] building an lablgtk with ocamlbuild 3.11 Ivan
2012-07-13 12:09 ` Adrien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).