delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/08/19:59:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <04e701c0f076$66326600$c600a8c0@kssony>
From: "Kerry Sanger" <kerry AT bytedesigns DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Problem with system commands: cp and mv
Date: Fri, 8 Jun 2001 16:54:01 -0700
Organization: Byte Designs Ltd.
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

------=_NextPart_000_04E4_01C0F03B.9E308310
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I can't cp or mv any simple executable..example:

     simple C program - expire.c

     compile and link expire.c:
    
            gcc -c -I. expire.c
            gcc expire.o -o expire

     from the current directory where the expire
     executable exists and where a subdirectory util
     exists:                  cp expire util/
    -or-                      cp expire util/expire
    -or-                      mv expire util/
    -or-                      mv expire util/expire

     all return: 'expire and util/expire are the same file'..eh?
     there is no util/expire..so what's it seeing/comparing? 

     I can cp or mv any other flat file or library ( .a ) I've
     created to util..just not any of the executables.

     cygwin seems to think the current path and the
     current path/util are the same as though I were 
     attempting: cp expire ./expire
     ( in which case I would expect the error:
         expire and expire are the same file ).

     I can go to a dos window and:

       copy dcheck.exe util
-or- copy dcheck.exe util\
-or- copy dcheck.exe util\dcheck 

 the problem with this approach
( although it gets the file to where I want it..) when I
 return to my cygwin screen and do a ls -l on util:
                           ls -l util
  responds with: dcheck.exe  

 not exactly unix format.. the .exe extension that is.

Any solutions?

TIA,
Kerry Sanger
Byte Designs Technical Support

------=_NextPart_000_04E4_01C0F03B.9E308310
Content-Type: application/octet-stream;
	name="cygcheck.out"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="cygcheck.out"


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Jun  8 16:31:02 2001

WinNT Ver 5.0 build 2195=20

Path:	/cygdrive/c/WINNT/system32
	/cygdrive/c/WINNT
	/cygdrive/c/WINNT/System32/Wbem
	/cygdrive/c/Program Files/Microsoft Visual Studio/Common/Tools/WinNT
	/cygdrive/c/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin
	/cygdrive/c/Program Files/Microsoft Visual Studio/Common/Tools
	/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin

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


!C: =3D `C:\cygwin\bin'
!EXITCODE =3D `00000000'
ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users'
APPDATA =3D `C:\Documents and Settings\kerry\Application Data'
COMMONPROGRAMFILES =3D `C:\Program Files\Common Files'
COMPUTERNAME =3D `KS-SONY'
COMSPEC =3D `C:\WINNT\system32\cmd.exe'
HOMEDRIVE =3D `c:'
HOMEPATH =3D `\home\kerry'
INCLUDE =3D `C:\Program Files\Microsoft Visual =
Studio\VC98\atl\include;C:\Program Files\Microsoft Visual =
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual =
Studio\VC98\include'
LIB =3D `C:\Program Files\Microsoft Visual =
Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib'
LOGONSERVER =3D `\\KS-SONY'
MSDEVDIR =3D `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS =3D `1'
OS =3D `Windows_NT'
OS2LIBPATH =3D `C:\WINNT\system32\os2\dll;'
PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE =3D `x86'
PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 8 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL =3D `6'
PROCESSOR_REVISION =3D `0801'
PROGRAMFILES =3D `C:\Program Files'
PROMPT =3D `$P$G'
SYSTEMDRIVE =3D `C:'
SYSTEMROOT =3D `C:\WINNT'
TEMP =3D `/cygdrive/c/DOCUME~1/kerry/LOCALS~1/Temp'
TMP =3D `/cygdrive/c/DOCUME~1/kerry/LOCALS~1/Temp'
USERDOMAIN =3D `KS-SONY'
USERNAME =3D `kerry'
USERPROFILE =3D `C:\Documents and Settings\kerry'
WINDIR =3D `C:\WINNT'
TERM =3D `cygwin'
TZ =3D `PST8PDT7,M4.1.0/2,M10.5.0/2'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) =3D `/cygdrive'
  cygdrive flags =3D 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Menu=
Order\Start Menu\Programs\Cygnus Solutions
  (default) =3D (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) =3D `C:/cygwin'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) =3D `C:/cygwin/bin'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) =3D `C:/cygwin/lib'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                   =20
c:  hd  NTFS    8652Mb  47% CP CS UN PA FC     WIN2K
k:  cd           N/A    N/A                   =20

C:\cygwin\bin  /usr/bin  system  binmode
C:\cygwin\lib  /usr/lib  system  binmode
C:\cygwin  /        system  binmode
c:    /cygdrive/c  user    binmode,noumount

Found: .\bash.exe
Found: .\cat.exe
Found: .\cpp.exe
Found: .\find.exe
Found: .\gcc.exe
Found: .\gdb.exe
Found: .\ld.exe
Found: .\ls.exe
Found: .\make.exe
Found: .\sh.exe

   56k 2000/12/03 .\cygbz21.0.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygbz21.0.dll" v0.0 ts=3D2000/11/20 15:53
   45k 2001/04/25 .\cygform5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform5.dll" v0.0 ts=3D2001/4/24 22:28
   18k 2000/10/23 .\cyggdbm.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm.dll" v0.0 ts=3D2000/10/22 19:26
   17k 2001/01/07 .\cyghistory4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyghistory4.dll" v0.0 ts=3D2001/1/6 20:34
   14k 2000/10/23 .\cygintl.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl.dll" v0.0 ts=3D2000/10/23 12:02
   81k 2000/12/05 .\cygitcl30.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygitcl30.dll" v0.0 ts=3D2000/11/25 17:43
   35k 2000/12/05 .\cygitk30.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygitk30.dll" v0.0 ts=3D2000/11/25 17:43
   45k 2000/10/22 .\cygjbig1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygjbig1.dll" v0.0 ts=3D2000/10/22 16:06
  119k 2001/06/06 .\cygjpeg6b.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygjpeg6b.dll" v0.0 ts=3D2001/6/5 21:27
   26k 2001/04/25 .\cygmenu5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu5.dll" v0.0 ts=3D2001/4/24 22:27
  156k 2001/04/25 .\cygncurses++5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygncurses++5.dll" v0.0 ts=3D2001/4/24 22:29
  226k 2001/04/25 .\cygncurses5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygncurses5.dll" v0.0 ts=3D2001/4/24 22:17
   15k 2001/04/25 .\cygpanel5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpanel5.dll" v0.0 ts=3D2001/4/24 22:27
  163k 2001/05/06 .\cygpng2.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpng2.dll" v0.0 ts=3D2001/5/5 21:05
  108k 2001/01/07 .\cygreadline4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygreadline4.dll" v0.0 ts=3D2001/1/6 20:34
  390k 2000/12/05 .\cygtcl80.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygtcl80.dll" v0.0 ts=3D2000/11/25 17:39
    5k 2000/12/05 .\cygtclpip80.dll - os=3D4.0 img=3D1.0 sys=3D4.0
   10k 2000/12/05 .\cygtclreg80.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygtclreg80.dll" v0.0 ts=3D2000/11/25 17:39
  243k 2000/10/23 .\cygtiff3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygtiff3.dll" v0.0 ts=3D2000/10/22 18:14
  623k 2000/12/05 .\cygtk80.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygtk80.dll" v0.0 ts=3D2000/11/25 17:43
   41k 2001/05/28 .\cygXpm-noX4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygXpm-noX4.dll" v0.0 ts=3D2001/5/28 10:57
   49k 2001/02/03 .\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygz.dll" v0.0 ts=3D2001/2/3 12:35
  678k 2001/05/21 .\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygwin1.dll" v0.0 ts=3D2001/5/20 20:28
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 2
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 39
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:=20
        build date: Sun May 20 23:28:17 EDT 2001
        shared id: cygwin1S3

   56k 2000/12/03 .\cygbz21.0.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygbz21.0.dll" v0.0 ts=3D2000/11/20 15:53
   45k 2001/04/25 .\cygform5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform5.dll" v0.0 ts=3D2001/4/24 22:28
   18k 2000/10/23 .\cyggdbm.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm.dll" v0.0 ts=3D2000/10/22 19:26
   17k 2001/01/07 .\cyghistory4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyghistory4.dll" v0.0 ts=3D2001/1/6 20:34
   14k 2000/10/23 .\cygintl.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl.dll" v0.0 ts=3D2000/10/23 12:02
   81k 2000/12/05 .\cygitcl30.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygitcl30.dll" v0.0 ts=3D2000/11/25 17:43
   35k 2000/12/05 .\cygitk30.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygitk30.dll" v0.0 ts=3D2000/11/25 17:43
   45k 2000/10/22 .\cygjbig1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygjbig1.dll" v0.0 ts=3D2000/10/22 16:06
  119k 2001/06/06 .\cygjpeg6b.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygjpeg6b.dll" v0.0 ts=3D2001/6/5 21:27
   26k 2001/04/25 .\cygmenu5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu5.dll" v0.0 ts=3D2001/4/24 22:27
  156k 2001/04/25 .\cygncurses++5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygncurses++5.dll" v0.0 ts=3D2001/4/24 22:29
  226k 2001/04/25 .\cygncurses5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygncurses5.dll" v0.0 ts=3D2001/4/24 22:17
   15k 2001/04/25 .\cygpanel5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpanel5.dll" v0.0 ts=3D2001/4/24 22:27
  163k 2001/05/06 .\cygpng2.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpng2.dll" v0.0 ts=3D2001/5/5 21:05
  108k 2001/01/07 .\cygreadline4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygreadline4.dll" v0.0 ts=3D2001/1/6 20:34
  390k 2000/12/05 .\cygtcl80.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygtcl80.dll" v0.0 ts=3D2000/11/25 17:39
    5k 2000/12/05 .\cygtclpip80.dll - os=3D4.0 img=3D1.0 sys=3D4.0
   10k 2000/12/05 .\cygtclreg80.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygtclreg80.dll" v0.0 ts=3D2000/11/25 17:39
  243k 2000/10/23 .\cygtiff3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygtiff3.dll" v0.0 ts=3D2000/10/22 18:14
  623k 2000/12/05 .\cygtk80.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygtk80.dll" v0.0 ts=3D2000/11/25 17:43
   41k 2001/05/28 .\cygXpm-noX4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygXpm-noX4.dll" v0.0 ts=3D2001/5/28 10:57
   49k 2001/02/03 .\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygz.dll" v0.0 ts=3D2001/2/3 12:35
  678k 2001/05/21 .\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygwin1.dll" v0.0 ts=3D2001/5/20 20:28
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 2
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 39
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:=20
        build date: Sun May 20 23:28:17 EDT 2001
        shared id: cygwin1S3

Use -h to see help about each section


------=_NextPart_000_04E4_01C0F03B.9E308310
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
------=_NextPart_000_04E4_01C0F03B.9E308310--

- Raw text -


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