From: Vladimir Vyskocil <vladimir.vyskocil@rightvision.com>
To: caml-list@inria.fr
Subject: Re: labltk bind ~events list questions/bugs?
Date: Wed, 03 Jan 2001 15:29:54 +0100 [thread overview]
Message-ID: <3A533762.6040801@rightvision.com> (raw)
In-Reply-To: <3A4F961C.FFF9D144@ozemail.com.au>
John Max Skaller wrote:
> Chris Hecker wrote:
>
>> 3. I'd like to be able to distribute an executable compiled with labltk and lablgl without having people have to have tcl/tk installed. Has anybody successfully statically linked tk into an ocaml app? Perl/Tk is set up such that it doesn't depend on the tcl/tk distribution, so I assume this is possible. Would it be a ton of work?
>
>
> AFAIK: Perl must be clever: Tcl and Tk require directories with
> (script) files on disk to operate: statically linking the binary isn't
> enough.
I had the same problem which I solved by merging all the tcl/tk
libraries files (written in
TCL) into one big file then I converted this file to "C" code (one big
string which was evaluated
by the Tcl_Eval function) and this code was linked to Caml.
--
Vyskocil Vladimir
Ingenieur Systeme - Unite Systeme & Securite IP
Rightvision - The Internet Appliance Company
e-mail: vladimir.vyskocil@rightvision.com
prev parent reply other threads:[~2001-01-04 13:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-27 8:01 Chris Hecker
2000-12-31 7:51 ` Jacques Garrigue
2001-01-03 0:07 ` John Max Skaller
2000-12-31 20:25 ` John Max Skaller
2001-01-03 14:29 ` Vladimir Vyskocil [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=3A533762.6040801@rightvision.com \
--to=vladimir.vyskocil@rightvision.com \
--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).