From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by sourceware.org (Postfix) with ESMTPS id 279783858D33 for ; Mon, 28 Aug 2023 14:16:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 279783858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-792707f78b5so111517339f.1 for ; Mon, 28 Aug 2023 07:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693232212; x=1693837012; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CfqaaqrSj6kgBfxHWsmjCP7QuuHzZzMdxXahlOl7Vk0=; b=KnF+1MVyg4tLJ5lMmdmPd0WtOV/3g2m+bXf3fdhzEqgf5N4R2unlaJ3qnyscH+OdAJ BdXdRMWB/UfLt1Q9UZtZZQGcIPZ9DSkhAOK0mDvFXba/t9EO4lfBuXYYNgixygNWY9j3 xC0E6yhAxrc5So4ir8GeJ6pnnoUSCM9NPcs6w0xheQB1NcH3t4sBa+9yyv7EPMtsYLLp 8iUXFIi4BfZ90D39QF7iWV7n9mrXsbi4/Tol7tcmDC7VKJIltw1uxvlKyiakunAZ/TaV ld5v1BgbUqQew0egreafP1UTHBSQcjQ3FXuvrJBw9wrKf0XzGD7BdWiVkDSrZLleQiCs N2hA== 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 Received: by 2002:a05:6638:12d4:b0:431:9235:e681 with HTTP; Mon, 28 Aug 2023 07:16:52 -0700 (PDT) In-Reply-To: References: From: Lee Date: Mon, 28 Aug 2023 10:16:52 -0400 Message-ID: Subject: Re: Difference between cygwin versions To: Cary Lewis Cc: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" 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 List-Id: 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 . 08/28/2023 10:04 AM .. 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