This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

#! magic for finding Cygwin Tcl shell


I was looking at support for UNC file paths in the eCos Configuration
Tool today. The convoluted #! magic we use in our Tcl scripts to find a
Cygwin Tcl shell is getting in the way when calling (eg) heapgen.tcl via
a UNC repository path. This code is only needed to support installations
of Cygwin that are more than 5 years old.

Rather than increase the complexity of the #! magic still further, I
think it now makes sense to revert to a simple "#! /usr/bin/tclsh"
within our Tcl scripts. However, this would break compatibility with old
Cygwin installations providing only tclsh8*.exe or cygtclsh80.exe.

Any objections?

John Dallaway


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]