public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Using cygwin tar from a DOS window
@ 2020-09-02 14:58 Douglas Coup
  2020-09-02 16:53 ` Bill Stewart
  2020-09-02 21:30 ` Wayne Davison
  0 siblings, 2 replies; 10+ messages in thread
From: Douglas Coup @ 2020-09-02 14:58 UTC (permalink / raw)
  To: cygwin

Hello Cygwin community.

I've recently started using a new Windows 10 workstation, on which I've 
installed 64-bit Cygwin, including tar v1.29.

Windows 10 has its own tar.exe, but I need the Cygwin tar to be found 
regardless of whether I'm using a Cygwin command window or a DOS command 
window.  Since from a DOS window I want Windows .exe files to be found 
for all situations except tar, I've copied the Cygwin tar.exe to a 
folder of its own and placed that folder in the PATH at the beginning to 
make sure Cygwin's tar.exe is found before the Windows tar.exe.

If I use tar from a Cygwin window, it works.  The tar.exe is found in 
Cygwin's own /usr/bin directory.

But if I use tar from a DOS window, I get a pop-up window that says the 
program can't start because cyggcc_s-1.dll can't be found.  This DLL is 
not present in the Cygwin hierarchy.  What's strange is if I run 
"cygcheck tar" from a Cygwin window, that DLL is not listed as a dependency.

This configuration worked successfully on my previous Windows 10 
workstation, where I had 32-bit Cygwin installed, including tar v1.27.

Any thoughts?  I'm wondering if I need to downgrade to tar v1.27 on my 
new workstation.

Regards,

Douglas Coup

-- 
Objective Systems, Inc.
REAL WORLD ASN.1 AND XML SOLUTIONS
Tel: +1 (484) 875-9841
Fax: +1 (484) 875-9830
Toll-free: (877) 307-6855 (USA only)
http://www.obj-sys.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-09-02 21:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-02 14:58 Using cygwin tar from a DOS window Douglas Coup
2020-09-02 16:53 ` Bill Stewart
2020-09-02 17:00   ` Douglas Coup
2020-09-02 17:28     ` Eliot Moss
2020-09-02 17:40       ` Douglas Coup
2020-09-02 17:50         ` Bill Stewart
2020-09-02 17:59         ` Eliot Moss
2020-09-02 18:09           ` Thomas Wolff
2020-09-02 21:30 ` Wayne Davison
2020-09-02 21:53   ` Bill Stewart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).