[rtmpdump] Cygwin

Steven Penny svnpenn at gmail.com
Mon Apr 23 08:21:14 CEST 2012


I just wanted to let it be known that RtmpDump will compile on Cygwin.
Cygwin can use the MinGW gcc so its basically the same thing. I will
probably be using Cygwin going forward because MinGW Bash is pretty old
(3.1.17).

#!/bin/sh
# Build RtmpDump with Cygwin
PREFIX=i686-pc-mingw32-

# Install Cygwin packages
# git
# make
# mingw-gcc-core
# mingw-zlib
# wget

# Install PolarSSL
wget polarssl.org/code/releases/polarssl-1.0.0-gpl.tgz
tar xf polarssl*
cd polarssl*
make APPS= AR=${PREFIX}ar CC=${PREFIX}gcc
make DESTDIR=/usr/${PREFIX%-}/sys-root/mingw install
cd -

# Install RtmpDump
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
make CROSS_COMPILE=${PREFIX} CRYPTO=POLARSSL \
SHARED= SYS=mingw XLIBS=-static


More information about the rtmpdump mailing list