Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: <gdb-patches@sources.redhat.com>
Subject: Re: [patch] Fix expect build under cygwin + Tcl/Tk 8.3
Date: Mon, 15 Jul 2002 12:00:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0207151143200.16420-100000@makita.cygnus.com> (raw)
In-Reply-To: <20020715175955.GB27999@redhat.com>

On Mon, 15 Jul 2002, Christopher Faylor wrote:

> Again, expect is not supposed to be using the windows version of
> anything.  It is supposed to be using the cygwin/unix version.

And this is the confusing part. There are actually TWO versions of tcl
that are built for cygwin.

One attempts to be windows, using windows-style pathnames.
::tcl_platform(platform) is "windows". The other attempts to be unixy. It
has unix pathnames (afair) and ::tcl_platform(platform) is "unix".

The former is the "real" tcl/tk for cygwin. Insight uses this DLL and
import lib.

Expect, however, uses the latter DLL. AFAICT, expect is the only client
for this special DLL, and it is why we cannot disable builds in tcl/unix
for cygwin hosts.

Therefore, if there is really a problem with expect (which I also have not
observed recently, but I will kick something off to double check), this
patch appears to not be the real solution.

Yes, it took me quite some time to figure all of this out! (Imagine my
confusion when I would run tclsh, type "set ::tcl_platform(platform)" and
get "windows", but I would run expect and get "unix"!)

Keith


  reply	other threads:[~2002-07-15 18:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15  3:06 Mo DeJong
2002-07-15 11:05 ` Christopher Faylor
2002-07-15 12:00   ` Keith Seitz [this message]
2002-07-15 12:58     ` Christopher Faylor
2002-07-15 13:09     ` Keith Seitz
  -- strict thread matches above, loose matches on Subject: below --
2002-07-15 16:34 Mo DeJong
2002-07-29 20:33 ` Christopher Faylor
2002-05-15 15:18 [patch] Fix expect build under Cygwin " Mo DeJong
2002-05-16 10:58 ` [patch] Fix expect build under cygwin " Christopher Faylor

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.GSO.4.33.0207151143200.16420-100000@makita.cygnus.com \
    --to=keiths@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /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