caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Mottl <markus@oefai.at>
To: Johann Spies <jhspies@adept.co.za>, caml-list@inria.fr
Subject: Re: [Caml-list] Ocamlmakefile and Lablgtk
Date: Tue, 13 Nov 2001 00:40:47 +0100	[thread overview]
Message-ID: <20011113004047.A9036@fichte.ai.univie.ac.at> (raw)
In-Reply-To: <20011113001722.A3664@adept.co.za>; from jhspies@adept.co.za on Tue, Nov 13, 2001 at 00:17:22 +0200

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


  reply	other threads:[~2001-11-13  7:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-12 13:36 Johann Spies
2001-11-12 17:59 ` Markus Mottl
2001-11-12 22:17   ` Johann Spies
2001-11-12 23:40     ` Markus Mottl [this message]
2001-11-13  8:10       ` Florian Hars
2001-11-13  8:54         ` Markus Mottl
2001-11-14 13:57           ` Jacques Garrigue
2001-11-14 14:10             ` Markus Mottl
2001-11-13 12:37         ` Johann Spies

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=20011113004047.A9036@fichte.ai.univie.ac.at \
    --to=markus@oefai.at \
    --cc=caml-list@inria.fr \
    --cc=jhspies@adept.co.za \
    /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).