From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22905 invoked by alias); 15 Jul 2002 19:34:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22889 invoked from network); 15 Jul 2002 19:34:50 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (66.187.233.200) by sources.redhat.com with SMTP; 15 Jul 2002 19:34:50 -0000 Received: from redhat.com (vpn50-2.rdu.redhat.com [172.16.50.2]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g6FJYns21950 for ; Mon, 15 Jul 2002 15:34:50 -0400 Received: by redhat.com (Postfix, from userid 201) id C39F41C359; Mon, 15 Jul 2002 15:35:02 -0400 (EDT) Date: Mon, 15 Jul 2002 12:58:00 -0000 From: Christopher Faylor To: gdb-patches@sources.redhat.com Subject: Re: [patch] Fix expect build under cygwin + Tcl/Tk 8.3 Message-ID: <20020715193502.GE16831@redhat.com> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20020715175955.GB27999@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23.1i X-SW-Source: 2002-07/txt/msg00336.txt.bz2 On Mon, Jul 15, 2002 at 11:49:40AM -0700, Keith Seitz wrote: >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. It's not supposed to be a dll. It is supposed to be a static library and it is only supposed to be linked with expect. It isn't even supposed to be installed. cgf