Subject: Re: exec'ing scripts
From: Bryan Headley <[email-masked]>
To: [email-masked]
Cc: cygwin <[email-masked]>
Date: Mon, 06 Dec 1999 15:34:38 -0600

Earnie Boyd wrote:

> You need to supply the output of `cygcheck -s -v -r' pasted in a mail.
>

Okay, this will teach you :-)

>
> Earnie.
>
> --- Bryan Headley <[email-masked]> wrote:
> > 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
> > [email-masked]
> > 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:[email-masked]
> > fn:Bryan Headley
> > end:vcard
> >
> > > --
> > Want to unsubscribe from this list?
> > Send a message to [email-masked]
>
> =====
> Earnie Boyd <mailto:[email-masked]>
> Cygwin Newbies, please visit
> <http://www.freeyellow.com/members5/gw32/index.html>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com
>
> --
> Want to unsubscribe from this list?
> Send a message to [email-masked]

--
Bryan W. Headley                               [email-masked]
LaRocque Trading LLC / DA Group                (312) 362-4889 (Voice)
440 South LaSalle Street, Suite 740            (312) 362-4924 (Fax)
Chicago IL 60605

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Dec 01 15:46:35 1999

WinNT Ver 4.0 build 1381 Service Pack 4

Path:	/WINNT/system32
	/WINNT
	/bin
	/usr/bin
	/contrib/bin
	/lib
	/usr/lib
	/contrib/lib
	/utils
	/Program Files/Sybase/Adaptive Server Anywhere 6.0/win32
	/Program Files/Sybase/shared
	/Program Files/Sybase/PowerDynamo/win32
	/cygdrive/e/at
	/bin
	/contrib/bin
	/winnt
	/cygdrive/e/Program Files/Platform SDK/BIN/WINNT
	/cygdrive/e/Program Files/Platform SDK/BIN
	/Program Files/Microsoft Visual Studio/Common/Tools/WinNT
	/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin
	/Program Files/Microsoft Visual Studio/Common/Tools
	/cygdrive/e/Program Files/Microsoft Visual Studio/VC98/bin
	/cygdrive/e/at
	.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `/cygdrive/d/usr'
MAKE_MODE = `unix'
PWD = `/cygdrive/d/usr/utils'
USER = `bheadley'

ARCH = `nt'
BASEMAKE = `E:\Program Files\Platform SDK\INCLUDE\BKOFFICE.MAK'
BKOFFICE = `E:\Program Files\Platform SDK\'
COMPUTERNAME = `EVERLAST'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CPU = `i386'
CVSROOT = `//malibu/BigCuda_2/work'
DXSDKROOT = `E:\Program Files\Platform SDK'
EDITOR = `vi'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `EVERLAST'
HOSTTYPE = `i686'
INETSDK = `E:\Program Files\Platform SDK'
LOGONSERVER = `\\EVERLAST'
MACHTYPE = `i686-pc-cygwin'
MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
MSSDK = `E:\Program Files\Platform SDK'
MSTOOLS = `E:\Program Files\Platform SDK'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/cygdrive/d/usr'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0703'
PROJ = `bheadley'
SHELL = `/bin/sh'
SHLVL = `1'
SNIFF_DIR = `f:\sniff'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\TEMP'
TERM = `cygwin'
TMP = `C:\TEMP'
TMPDIR = `d:\cygwin1.0\tmp'
TZ = `cst'
USERDOMAIN = `EVERLAST'
USERNAME = `bheadley'
USERPROFILE = `C:\WINNT\Profiles\bheadley'
VIM = `d:\usr\vim'
WINDIR = `C:\WINNT'
_ = `/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `c:\'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/bin
  (default) = `d:\cygwin1.0\bin'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/contrib
  (default) = `d:\cygwin1.0\contrib'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/etc
  (default) = `d:\cygwin1.0\etc'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/include
  (default) = `d:\cygwin1.0\include'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/lib
  (default) = `d:\cygwin1.0\lib'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/share
  (default) = `d:\cygwin1.0\share'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr
  (default) = `d:\cygwin1.0\usr'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/utils
  (default) = `d:\usr\utils'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/var
  (default) = `d:\cygwin1.0\var'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\1.00.000
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus Cygwin B20
  (default) = `C:\WINNT\IsUninst.exe -fd:\usr\cygwin-b20\Uninst.isu'
  DisplayName = `Cygwin B20'

a:  fd           N/A    N/A                    
c:  hd  FAT     2044Mb  95% CP    UN           ANTYN42ABA
d:  hd  NTFS    2045Mb  64% CP CS UN PA FC     VOL_LOG1
e:  hd  NTFS    2045Mb  53% CP CS UN PA FC     VOL_LOG2
f:  hd  NTFS    1926Mb  16% CP CS UN PA FC     VOL_LOG3
g:  cd           N/A    N/A                    
u:  net Samba   4063Mb  57% CP    UN           mlx
v:  net Samba   4063Mb   0% CP    UN           BigCUDA_2

d:\cygwin1.0\contrib  /contrib  user    binmode
d:\cygwin1.0\include  /include  user    binmode
d:\cygwin1.0\share  /share   user    binmode
d:\cygwin1.0\bin  /bin     user    binmode
d:\cygwin1.0\etc  /etc     user    binmode
d:\cygwin1.0\lib  /lib     user    binmode
d:\cygwin1.0\usr  /usr     user    binmode
d:\cygwin1.0\var  /var     user    binmode
d:\usr\utils  /utils   user    binmode
c:    /        user    binmode

Found: d:\cygwin1.0\bin\bash.exe
Found: d:\cygwin1.0\bin\cat.exe
Not Found: cpp (good!)
Found: d:\cygwin1.0\bin\find.exe
Found: d:\cygwin1.0\bin\gcc.exe
Found: d:\cygwin1.0\bin\gdb.exe
Found: d:\cygwin1.0\bin\ld.exe
Found: d:\cygwin1.0\bin\ls.exe
Found: d:\cygwin1.0\bin\make.exe
Found: d:\cygwin1.0\bin\sh.exe

  115k 1999/09/14 d:\cygwin1.0\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=1999/9/14 2:46
   63k 1999/09/14 d:\cygwin1.0\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=1999/9/14 2:47
  474k 1999/09/14 d:\cygwin1.0\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1999/9/14 2:31
   19k 1999/09/14 d:\cygwin1.0\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   24k 1999/09/14 d:\cygwin1.0\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1999/9/14 2:31
  768k 1999/09/14 d:\cygwin1.0\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1999/9/14 2:36
  786k 1999/09/14 d:\cygwin1.0\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1999/9/14 3:44
Use -h to see help about each section
--
Want to unsubscribe from this list?
Send a message to [email-masked]