Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Brian Rogoff <bpr@best.com>
To: Francois Pessaux <pessaux@mouton.inria.fr>
Cc: caml-list@inria.fr
Subject: Re: Anyone ported OCamlTk to Tcl/Tk 8.0 on Windows?
Date: Mon, 9 Nov 1998 11:11:27 -0800 (PST)	[thread overview]
Message-ID: <Pine.BSF.4.05.9811091056290.7842-100000@shell5.ba.best.com> (raw)
In-Reply-To: <199811091354.OAA07519@mouton.inria.fr>

Hi,
On Mon, 9 Nov 1998, Francois Pessaux wrote:
> Hello,
> 
> > 	Has anyone built the the tk library with the latest stable 
> > Tcl/Tk release (8.0.3) on Windows NT?
> 
> On Windows NT, I don't know. But we updated the ocamktk41-R200 in order
> support Tcl/Tk8.0. I currently use it under Linux without any problem.
> Did you try this version ?

No, and unfortunately it isn't likely that I can switch to Linux. 

It appears that the Tcl C interface has changed a bit in going from 7.6 to 
8.0, and while the Unix port was not affected the Windows port was. The 
relevant sections from the Tcl 8.0.3 distribution are:

    8. Tcl_CreateFileHandler and Tcl_DeleteFileHandler now take Unix
    fd's and are only supported on the Unix platform.  Please use the
    Tcl_CreateChannelHandler interface instead.

    9. The C APIs for creating channel drivers have changed as part of
    the new notifier implementation.  The Tcl_File interfaces have been
    removed.  Tcl_GetChannelFile has been replaced with
    Tcl_GetChannelHandle.  Tcl_MakeFileChannel now takes a platform-
    specific file handle.  Tcl_DriverGetOptionProc procedures now take
    an additional interp argument.

which affect the file ocamltk41\support\cltkFile.c, which uses the
obsolete Tcl_GetFile function and Tcl_File type. My perusal of the rest
of the sources didn't turn up any other porting issues, but I haven't
tried to rewrite and compile yet. 

-- Brian





  reply	other threads:[~1998-11-10 12:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-06 22:49 Brian Rogoff
1998-11-09 13:54 ` Francois Pessaux
1998-11-09 19:11   ` Brian Rogoff [this message]
1998-11-10  8:54     ` Francois Pessaux
1998-11-12  0:06     ` Francois Rouaix
1998-11-12 13:10       ` Xavier Leroy

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=Pine.BSF.4.05.9811091056290.7842-100000@shell5.ba.best.com \
    --to=bpr@best.com \
    --cc=caml-list@inria.fr \
    --cc=pessaux@mouton.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