<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/11/df4ec3a8bbc73ae035a50ba302eb703c"
  from="Flavio &lt;sixdegreesoit@y...&gt;"
  author="Flavio"
  date="2003-11-27T22:14:47"
  subject="Re: [Caml-list] OCamlMake and cmo files"
  prev="2003/11/19b8bcf7d9fc197e8195fe26dd26a27f"
  next="2003/11/13322a1c9558dc8213aabf326278ba2d"
  prev-in-thread="2003/11/19b8bcf7d9fc197e8195fe26dd26a27f"
  next-in-thread="2003/11/13322a1c9558dc8213aabf326278ba2d"
  prev-thread="2003/11/bdc1a5a58c194efb90903c9adcd7b097"
  next-thread="2003/11/544ed91316b7f021748820400d5659b0"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] OCamlMake and cmo files">
<msg 
  url="2003/11/81d0d1f0a5637b0bbc5c1e42e41daa94"
  from="Flavio &lt;sixdegreesoit@y...&gt;"
  author="Flavio"
  date="2003-11-27T09:34:27"
  subject="[Caml-list] OCamlMake and cmo files">
<msg 
  url="2003/11/19b8bcf7d9fc197e8195fe26dd26a27f"
  from="Markus Mottl &lt;markus@o...&gt;"
  author="Markus Mottl"
  date="2003-11-27T12:14:20"
  subject="Re: [Caml-list] OCamlMake and cmo files">
<msg 
  url="2003/11/df4ec3a8bbc73ae035a50ba302eb703c"
  from="Flavio &lt;sixdegreesoit@y...&gt;"
  author="Flavio"
  date="2003-11-27T22:14:47"
  subject="Re: [Caml-list] OCamlMake and cmo files">
<msg 
  url="2003/11/13322a1c9558dc8213aabf326278ba2d"
  from="Markus Mottl &lt;markus@o...&gt;"
  author="Markus Mottl"
  date="2003-11-27T23:01:59"
  subject="Re: [Caml-list] OCamlMake and cmo files">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Alle 13:14, giovedì 27 novembre 2003, Markus Mottl ha scritto:

&gt; If you want to link anything that is only available in byte code (or
&gt; pass special flags to the byte code linker), just use the variable
&gt; OCAMLBLDFLAGS (see README in the distribution for details).
&gt; Everything you put in there will be passed verbatim in the linking
&gt; stage.

Now my Makefile is:

OCAMLMAKEFILE = /usr/share/ocaml-tools/OCamlMakefile

SOURCES = editor2.ml
RESULT  = editor2
INCDIRS = +lablgtk2
LIBS = lablgtk

OCAMLBLDFLAGS = gtkInit.cmo

but this executes
ocamlc -I +lablgtk2 gtkInit.cmo lablgtk.cma -o editor2 editor2.cmo

that gives an error because the right order is (lablgtk.cma first):
ocamlc -I +lablgtk2 lablgtk.cma gtkInit.cmo -o editor2 editor2.cmo

And now?

Many thanks for your help (and patience)

&gt; Regards,
&gt; Markus Mottl

-------------------
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

</contents>

</message>

