4 ms·
Cygwin cannot run Linux executables. Cygwin .exe's are specifically compiled for Windows.
by interlocutor 9y ago
Cygwin cannot run Linux executables. Cygwin .exe's are specifically compiled for Windows.
- seiferteric 9y agoCygwin is essentially a distribution, so like any distribution their packages are recompiled for that specific distribution and available in their repo. It's not too often you download a random binary for Linux and run it, but that case I concede.
- saghm 9y ago> It's not too often you download a random binary for Linux and run it Mostly because you don't have to due to package managers. Assuming there are no unsatisfied dependencies, it's totally possible to share binaries between Linux distros.
- paulie_a 9y agoWhile I think cygwin has a fairly poor ux I don't mean to be dismissive of the undertaking. On the flip side the concept of " curl http://random_unknown_thing.sh| http://random_unknown_thing.sh| sudo sh" has become increasingly normal and unsettling
- notgood 9y agoVery often; every ruby/node/etc library that has at least one dependency that needs compilation ("native-extensions") can now run on Windows 10 without issues.
- seiferteric 9y agoHuh? If it was compiling the native extension, then it would work in cygwin also?
- notgood 9y agoJust as an exercise; try to compile latest Node on cygwin and you will be welcomed by a ton of errors. Then try to compile it on linux subsystem (no issues arise)