* Difference between cygwin versions
@ 2023-08-28 12:18 Cary Lewis
2023-08-28 14:16 ` Lee
0 siblings, 1 reply; 2+ messages in thread
From: Cary Lewis @ 2023-08-28 12:18 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 640 bytes --]
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.
Has something changed in cygwin that prevents this from working?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Difference between cygwin versions
2023-08-28 12:18 Difference between cygwin versions Cary Lewis
@ 2023-08-28 14:16 ` Lee
0 siblings, 0 replies; 2+ messages in thread
From: Lee @ 2023-08-28 14:16 UTC (permalink / raw)
To: Cary Lewis; +Cc: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-28 14:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-28 12:18 Difference between cygwin versions Cary Lewis
2023-08-28 14:16 ` Lee
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).