caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Mottl <markus@oefai.at>
To: Flavio <sixdegreesoit@yahoo.it>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OCamlMake and cmo files
Date: Fri, 28 Nov 2003 00:01:57 +0100	[thread overview]
Message-ID: <20031127230157.GC28874@fichte.ai.univie.ac.at> (raw)
In-Reply-To: <200311272312.02964.sixdegreesoit@yahoo.it>

On Thu, 27 Nov 2003, Flavio wrote:
> 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

Well, that's easy ;-)

How about

  OCAMLBLDFLAGS = lablgtk.cma gktInit.cmo

and dropping "LIBS = lablgtk"?

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


      reply	other threads:[~2003-11-27 23:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-27  9:33 Flavio
2003-11-27 12:14 ` Markus Mottl
2003-11-27 22:13   ` Flavio
2003-11-27 23:01     ` Markus Mottl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031127230157.GC28874@fichte.ai.univie.ac.at \
    --to=markus@oefai.at \
    --cc=caml-list@inria.fr \
    --cc=sixdegreesoit@yahoo.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).