caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nicolas George <nicolas.george@ens.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Error using lablgtk
Date: Sun, 2 Sep 2001 01:01:39 +0200	[thread overview]
Message-ID: <20010902010139.B4588@aimlin> (raw)
In-Reply-To: <20010901192824.A20723@darling.home.br>; from romildo@uber.com.br on Sat, Sep 01, 2001 at 07:28:24PM -0300

Le samedi 01 septembre 2001 à 19:28, José Romildo Malaquias a écrit :
> 	$ lablgtk -labels -o hello hello.ml

To compile programs using LablGtk, you must use the regular OCaml compiler,
and link with the library. Something like that:

ocamlc.opt -o hello -labels lablgtk.cma hello.ml

The lablgtk command is a toplevel including the library (or, to be exact,
it is a shell script starting the true toplevel with some options).

Note also that examples programs that comes with LablGtk are intended to be
run as script using this toplevel, because they do not call
GMain.Main.init.

But I do not understand why the -w option (added by the script) is
rejected: the -w option is correct for toplevels. The -o option should be
rejected instead.
-------------------
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-09-01 23:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-01 22:28 José Romildo Malaquias
2001-09-01 23:01 ` Nicolas George [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=20010902010139.B4588@aimlin \
    --to=nicolas.george@ens.fr \
    --cc=caml-list@inria.fr \
    /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).