[Ffmpeg-cvslog] r5944 - trunk/doc/ffmpeg-doc.texi

diego subversion
Mon Aug 7 13:49:35 CEST 2006


Author: diego
Date: Mon Aug  7 13:49:34 2006
New Revision: 5944

Modified:
   trunk/doc/ffmpeg-doc.texi

Log:
Cygwin compilation and Cygwin/MinGW crosscompilation sections
based on patch by V?ctor Paesa <wzrlpy at arsystel.com>


Modified: trunk/doc/ffmpeg-doc.texi
==============================================================================
--- trunk/doc/ffmpeg-doc.texi	(original)
+++ trunk/doc/ffmpeg-doc.texi	Mon Aug  7 13:49:34 2006
@@ -1084,6 +1084,60 @@
 Then you can easily test FFmpeg with Wine
 (@url{http://www.winehq.com/}).
 
+ at subsection Compilation under Cygwin
+
+Cygwin works very much like Unix.
+
+Just install your Cygwin with all the "Base" packages, plus the
+following "Devel" ones:
+ at example
+binutils, gcc-core, make, subversion
+ at end example
+
+Do not install binutils-20060709-1 (they are buggy on shared builds);
+use binutils-20050610-1 instead.
+
+Then run
+
+ at example
+./configure --enable-static --disable-shared
+ at end example
+
+to make a static build or
+
+ at example
+./configure --enable-shared --disable-static
+ at end example
+
+to build shared libraries.
+
+If you want to build FFmpeg with additional libraries, download Cygwin
+"Devel" packages for Ogg and Vorbis from any Cygwin packages repository
+and/or SDL, xvid, faac, faad2 packages from Cygwin Ports,
+(@url{http://cygwinports.dotsrc.org/}).
+
+ at subsection Crosscompilation for Windows under Cygwin
+
+With Cygwin you can create Windows binaries that don't need the cygwin1.dll.
+
+Just install your Cygwin as explained before, plus these additional
+"Devel" packages:
+ at example
+gcc-mingw-core, mingw-runtime, mingw-zlib
+ at end example
+
+and add some special flags to your configure invocation.
+
+For a static build run
+ at example
+./configure --enable-mingw32 --enable-memalign-hack --enable-static --disable-shared --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
+ at end example
+
+and for a build with shared libraries
+ at example
+./configure --enable-mingw32 --enable-memalign-hack --enable-shared --disable-static --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
+ at end example
+
 @section Mac OS X
 
 @section BeOS




More information about the ffmpeg-cvslog mailing list