radare2 icon indicating copy to clipboard operation
radare2 copied to clipboard

error while installing radare2 on windows using cygwin

Open mohamed-omara39 opened this issue 2 years ago • 3 comments

Environment

# copypaste this script into your shell and replace it with the output
./sys/install.sh

Description

Hi I was trying to install radare2 using cygwin on windows but I get this error

ar: creating libsdb.

OSTYPE: cygwin_nt-10.0-19045 ERROR: Unknown platform

Test

mohamed-omara39 avatar Oct 15 '23 13:10 mohamed-omara39

Cygwin support was removed some years ago, you can build it with mingw and msvc. If theres some interest on cygwin support it should be easy to add back i think

trufae avatar Oct 15 '23 23:10 trufae

why not use wsl to replace cygwin? wsl is better option to run *nix on window.

vingocheng avatar Nov 16 '23 03:11 vingocheng

Wsl and mingw builds work well. Cygwin is a hack on top of windows and its using a different abi, and also ships its own different headers for windows apis which makes cygwin binaries not essy to debug either. But yeah if someone wants to use cygwin it shouldnt be hard to port it again. I was not a fan of removing support for it. Can someone paste the errors you get when running this?

trufae avatar Nov 16 '23 20:11 trufae