From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1489 invoked by alias); 20 Feb 2005 07:29:06 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 1309 invoked from network); 20 Feb 2005 07:29:00 -0000 Received: from unknown (HELO web53609.mail.yahoo.com) (206.190.37.42) by sourceware.org with SMTP; 20 Feb 2005 07:29:00 -0000 Received: (qmail 99180 invoked by uid 60001); 20 Feb 2005 07:29:00 -0000 Message-ID: <20050220072900.99178.qmail@web53609.mail.yahoo.com> Received: from [209.210.229.214] by web53609.mail.yahoo.com via HTTP; Sat, 19 Feb 2005 23:28:59 PST Date: Sun, 20 Feb 2005 07:29:00 -0000 From: Brad Gutt Subject: Re: expect and tclsh give different output from "clock scan" To: insight@sources.redhat.com In-Reply-To: <20050110012047.GA27333@trixie.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-q1/txt/msg00041.txt.bz2 Thanks Christopher. I think that for my purposes, I would want to do the same thing as you (or someone) have done in the Insight build environment, it is just that I am a bit lost on how Insights build configuration goes about it. What I am after is getting a version of Expect that matches Tcl in every way possible, even if it is a "windows version" similar to what Insight uses. Here is what I think happens, and tell me where I am wrong: If I have a Windows 2000 machine, and build Insight from source using Cygwin, I issue the ./configure command from the Cygwin shell. When Insight is built, Tcl is built and also Expect is built. I am believing that those versions of Tcl and Expect are the "windows versions" you spoke of simply because they are built on a Windows machine AND because of some special that are given to the ./configure switch to turn off any of the unix-like behaviors Keith spoke of, which means avoiding use of the posix layer and instead using the "goofy windowsy things". If that is the case, then when I issue the "set ::tcl_platform(platform)" command to those versions of Expect and Tcl, both of those executables should return "windows". If so, that is exactly what I need, then all I would need to know now is what are the given to ./configure to make all of that happen? Thanks for all your help, Brad BTW, the cvs branch I'm looking at is gdb_5_2-branch, cvs module is insight+dejagnu --- Christopher Faylor wrote: > Keith's analysis of the situation is correct. > expect uses a unix-like > version of tcl and insight uses a windows version of > tcl with hooks for > cygwin. > > Using the cygwin version of tcl for expect allows > expect to use select, > ptys, and other unix-isms. Using the windows > version for insight allows > insight to draw windows on the screen. > > This is a fact of life. It isn't going to change no > matter what mailing > list you discuss it in. __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com