X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 236113858C2A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1693232230;
	bh=/X6haIv6hQvZVO0W0a9IdsoQcHQLwS3qWBmz9AsbEwE=;
	h=In-Reply-To:References:Date:Subject:To:Cc:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=yB6JdcugOCIrfn/KNJ4xNYnI28M0VGrmEEp3aBGij8ayOZ1SMA7LNmn5WnJEE0+yf
	 DbeFbY5nPJGbqvXYYvkCyRjgqVXl37kq1ju3suKCzFz9g19UQ3nn2SXVTM5lF9kKxc
	 2QL5kuJB2PDIK8MsRHJjtQRYyM9iDZAHw42/UmDM=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 279783858D33
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1693232212; x=1693837012;
 h=cc:to:subject:message-id:date:from:references:in-reply-to
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=CfqaaqrSj6kgBfxHWsmjCP7QuuHzZzMdxXahlOl7Vk0=;
 b=SjSj14ePl1FAG8yFhzF6y+1qul8j58tAxaRsvCdaNsMPYPem4OfdxhUY8vM5AD+r+S
 +TnRxtxoBP9w0oXPWUKfrOrVCoGpl4hXETW0Gowkk+mdNfYNxTftPXJmZrICHI651dyO
 B2VJcVZhevyD5C1GMuzfJc3sOpwmzCCF/GMnIJwXyMs5+76FyXFIYXrbdYmO3AoM/hKK
 W7S9pjlgZ5u+nT2iO9KyOpGBFkghmctWc5xUmIoIGzKdCc4zbMPEgSwoS6T1Uy7VDEEb
 Blv4GZ0hvxn5mNkR2iiGBOnArGVaubvYHtb7nZzJSv/vt+9VWFMRAugIlqMfs84PHadH
 oWKg==
X-Gm-Message-State: AOJu0YzdP1vCxtOrGiyjy9mQoWAkVxKF8d8uSlvFsN8QEGmGL/AcPGgA
 2kGcJ3LblKbHa54JNv4MT7BcMjKWydWKG0n4RYeOWGX1WzwQQQ==
X-Google-Smtp-Source: AGHT+IG5JnKt1paGaIePb1jHWCwJFgd/q+zQd1DbH5us47tL6zpi3mVTfoYTIcAkQ7Y6zZkv0cmcP0jMZzZuJCRS1CU=
X-Received: by 2002:a5e:8a4a:0:b0:787:8cf:fe8a with SMTP id
 o10-20020a5e8a4a000000b0078708cffe8amr17288935iom.2.1693232212396; Mon, 28
 Aug 2023 07:16:52 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CAEF1h+XaGP8OEe++_W2ofgxidGrSWUKne7AK7aE8vTWo8AaAtA@mail.gmail.com>
References: <CAEF1h+XaGP8OEe++_W2ofgxidGrSWUKne7AK7aE8vTWo8AaAtA@mail.gmail.com>
Date: Mon, 28 Aug 2023 10:16:52 -0400
Message-ID: <CAD8GWssVejern7=DCu0DUU4dAkDQM9TezV=FHMCJ=D_0vOPZhQ@mail.gmail.com>
Subject: Re: Difference between cygwin versions
To: Cary Lewis <cary.lewis@gmail.com>
Cc: cygwin@cygwin.com
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Lee via Cygwin <cygwin@cygwin.com>
Reply-To: Lee <ler762@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 8/28/23, Cary Lewis via Cygwin  wrote:

> On one machine I have cygwin version  3.1.7(0.340/5/3), I can copy cygwin
> binaries and the corresponding dlls to a folder and then run the cygwin
> programs without any problems.
>
> But on another machine I have a newer cygwin,  3.4.7-1.x86_64, and when I
> do the same thing, the programs do not work:
>
> e.g.
>
> mkdir /tmp/test
> cd /tmp/test
> $ ls -1
> bash.exe
> chroot.exe
> cygiconv-2.dll
> cygintl-8.dll
> cygncursesw-10.dll
> cygreadline7.dll
> cygwin1.dll
>
> I copied all of bash's required dlls to /tmp/test
>
> When I do a ./bash, it exits immediately on 3.4.7, but on 3.1.7 it works
> correctly.

*forward slash* ??  That doesn't work for me, but .\bash does

$ uname -a
CYGWIN_NT-10.0-19044 i3668 3.4.7-1.x86_64 2023-06-16 14:04 UTC x86_64 Cygwin

works for me:

C:\Temp\test>dir
 Directory of C:\Temp\test

08/28/2023  10:04 AM    <DIR>          .
08/28/2023  10:04 AM    <DIR>          ..
08/28/2023  09:59 AM           854,035 bash.exe
08/28/2023  10:04 AM            43,539 chroot.exe
08/28/2023  10:00 AM         1,088,019 cygiconv-2.dll
08/28/2023  10:00 AM           108,563 cygintl-8.dll
08/28/2023  10:01 AM           334,867 cygncursesw-10.dll
08/28/2023  10:00 AM           262,675 cygreadline7.dll
08/28/2023  09:59 AM         2,952,245 cygwin1.dll

C:\Temp\test>.\bash.exe
bash.exe: warning: could not find /tmp, please create!
bash-5.2$ uname
windows32
bash-5.2$ exit
exit

Regards,
Lee

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
