delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/18/19:58:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 18 Jan 2005 19:57:43 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: CV <or254498 AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: FileRunner under cygwin - simple compilation fails.
In-Reply-To: <loom.20050119T002537-61@post.gmane.org>
Message-ID: <Pine.GSO.4.61.0501181952340.9964@slinky.cs.nyu.edu>
References: <loom DOT 20050118T142731-507 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0501181010110 DOT 1614 AT slinky DOT cs DOT nyu DOT edu> <loom DOT 20050118T181653-835 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0501181238270 DOT 2596 AT slinky DOT cs DOT nyu DOT edu> <loom DOT 20050119T002537-61 AT post DOT gmane DOT org>
MIME-Version: 1.0

On Wed, 19 Jan 2005, CV wrote:

> Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes:
>
> > Did you check whether tcl.h gets included?  If it is, it could be a bug in
> > ext.c.
>
> I ran gcc -E as you suggested but was not sure how to interpret
> the results. Looking at it a bit more closely I think it is clear
> that tcl.h _does_ get included:
>
> After running the command "gcc -E ext.c -o ext.pre" and then
> comparing ext.pre with tcl.h I think I can identify some of
> the included bits, eg. the following:
> [snip]

You could also just look at the '# line' lines, e.g.,
'# 159 "/usr/include/tcl.h" 3 4'

The most interesting thing is whether Tcl_CreateCommand is declared, and
whether its signature corresponds to its usage in ext.c.

> > > It does seem to behave funny, refusing to enter certain directories,
> > > but that I'll have to investigate separately.
> >
> > Perhaps related to the above warnings?
>
> Don't know, but actually it only refuses to enter the
> C:/cygwin/cygdrive directory, where the windows disks
> are mounted. It is ok everywhere else.

Ha.  /cygdrive is a virtual directory, intended to access Windows disks
from inside Cygwin, not vice versa.  Why go to C:/cygwin/cygdrive/c/, when
you can simply go to C:/?

> [snip]
> I am a little surprised that FileRunner is working with
> C:/ as its root directory. I would have preferred to have
> it use the cygwin / root, and then access windows disks
> over /cygdrive/c etc. but that's a minor point and it
> still sort of works: "cd /" takes you to C:/cygwin.
>
> Another funny thing is that cygwin symlinks come up
> as filename.lnk, but they still seem to work as
> expected when you click on them.

Both of the above seem to indicate that the Tcl library you're using is
probably a Windows native Tcl of some sort...  I may be totally off,
though, since I don't know squat about Tcl.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019