![install socat cygwin install socat cygwin](https://image.slidesharecdn.com/cygwin-140311095414-phpapp01/95/cygwin-install-howto-chinese-2-638.jpg)
usr/include/sys/wait.h:43:7: note: expected `_wait_status_ptr_t' but argument Ive just updated to the latest Cygwin 64-bit installation on my Windows 7 PC. cd socat. Ratproxy.c:1635:5: error: incompatible type for argument 2 of `waitpid' ratproxy-report.sh ratlog >reportname.html Once you have the log to generate a nice looking pretty report:īash$.
Install socat cygwin generator#
?ĭo not forget to dos2unix the ratproxy-report.sh otherwise you will get some errors with ‘\r’ and some other random stuff when you run the report generator shell scripts.Ĭ:\tools\ratproxy>ratproxy.exe -p 8000 -v c:\testdir -w ratlog -d -extifscfjmXCk I also replaced $(CC) with gcc just because I felt like it.
Install socat cygwin how to#
So my Makefile’s CFLAGS line looks like: CFLAGS = -Wall -O3 -D_GNU_SOURCE Cygwin is a collection of GNU and Open Source tools that provide a Linux-like environment for Windows: using it we can install and use llvm (which includes the GCC compilers), Clang (which includes Clang compilers), GDB (a debugger used by both compilers), and make/cmake (tools that which we use to specify how to build -compile and link- C++ programs). If you have the gcc, make, openssl, openssl-dev packages installed on cygwin, all you need to do is remove the -Wno-pointer flag from the CFLAGS entry from the Makefile. But it seems that the makefile that comes with ratproxy is not really compatible with cygwin. Cygwin is a free and open source software with tons of optional packages which lets you run and execute the age-old Unix-like commands right in your Windows system.
![install socat cygwin install socat cygwin](https://i.stack.imgur.com/wM2v4.png)
Let us see how to install and configure Cygwin in the Windows environment. I have used Michal Zalewski’s Ratproxy on Google code. However, if you have the need to use a terminal, Cygwin is the best tool for you.