From: Vyskocil Vladimir <vyskocil@unice.fr>
To: "Benjamin C. Pierce" <bcpierce@saul.cis.upenn.edu>,
caml-redistribution@pauillac.inria.fr
Subject: OCaml and Tcl/Tk statically linked
Date: Wed, 23 Feb 2000 19:23:15 +0100 [thread overview]
Message-ID: <38B42593.1CB24227@unice.fr> (raw)
In-Reply-To: <12079.951243339@saul.cis.upenn.edu>
"Benjamin C. Pierce" wrote:
>
> Answering my own question...
>
> I've been told that statically linking Tk applications is not
> possible. If you can tell me how to do it (ideally on both Unix and
> Windows) I'd be delighted to know: this is one of our biggest problems
> with distributing Unison at the moment.
>
> >From talking to some more experts, the situation appears to be this:
> Tk can be statically linked, but this doesn't help with portability
> because when it starts the first thing it does is reads some Tcl
> scripts. So in any case you can't distribute a complete all-in-one
> executable: users will have to install (the right version of) Tk to
> run your program.
I've build a tool which has TK statically linked and all the script part
put in it : I've put all tcl lib files into one (or more) C strings and
evalued them by a TCL interpret in the init part of the application (it
was done in a small C piece of code linked with OCaml), it works very
well !
--
Vyskocil Vladimir
vyskocil@unice.fr
prev parent reply other threads:[~2000-02-23 18:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-22 18:15 Benjamin C. Pierce
2000-02-23 15:09 ` skaller
2000-02-23 18:23 ` Vyskocil Vladimir [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=38B42593.1CB24227@unice.fr \
--to=vyskocil@unice.fr \
--cc=bcpierce@saul.cis.upenn.edu \
--cc=caml-redistribution@pauillac.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