This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

exec'ing scripts


Is there a good rule of thumb to follow when creating scripts for cygwin
1 to run?

Example, I have tkcvs out in my path. It's a unix file (e.g., no \r\n)
and it references /bin/sh and /utils.

/bin and /utils are mountpoints in my system to drive D:\cygwin1.0\bin
and D:\user\utils, respectively. If I try to run tkcvs outside of
/utils, it gives me "/utils/tkcvs - file not found" (This a windows
dialog, not a bash error). If I go into /utils and type "./tkcvs", it
cannot read tcl modules that are "source"d in by tkcvs. It does not seem
to matter whether /bin and /utils are mountpoints or softlinks -- I
tried them both.

1. Is it an issue that / is drive C:  and that everything that is
"cyg-ish" is on drive D:?
2. Why is the win32 kernel getting involved in the loading of tcl
script? I say that because the complaint is a Windows System
    dialog, not a message from bash per se.
     a. My PATH has d:\cygwin10\bin as well as /bin to ensure that
cygwin1.dll is found.

Help? Suggestions?



--
Bryan W. Headley
bheadley@larocquetrading.com
LaRocque Trading LLC / DA Group                (312) 362-4889 (Voice)
440 South LaSalle Street, Suite 740            (312) 362-4924 (Fax)
Chicago IL 60605

begin:vcard 
n:Headley;Bryan
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:bheadley@larocquetrading.com
fn:Bryan Headley
end:vcard

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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