aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVíctor Paesa <victorpaesa@googlemail.com>2010-03-16 18:32:52 +0000
committerVíctor Paesa <victorpaesa@googlemail.com>2010-03-16 18:32:52 +0000
commit2f821b036c7689c1e1bc6a8da96a28e8772f7668 (patch)
tree7dfecb8d93eeb7a9cf0e0b044664144915f21c5e
parent562f22a69973d341b0eb19f30cfaf451dcb148ae (diff)
downloadffmpeg-2f821b036c7689c1e1bc6a8da96a28e8772f7668.tar.gz
Add compilation hints for Cygwin 1.7 and remove the ones for 1.5
Originally committed as revision 22567 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--doc/general.texi33
1 files changed, 10 insertions, 23 deletions
diff --git a/doc/general.texi b/doc/general.texi
index def9965d81..53af7caed1 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -924,14 +924,13 @@ Then you can easily test FFmpeg with Wine
@subsection Compilation under Cygwin
-The main issue with the 1.5.x Cygwin versions is that newlib, its C library,
-does not contain llrint(). You need to upgrade to the unstable 1.7.x versions,
-or leverage the implementation in MinGW (as explained below).
+Please use Cygwin 1.7.x as the obsolete 1.5.x Cygwin versions lack
+llrint() in its C library.
-Just install your Cygwin with all the "Base" packages, plus the
+Install your Cygwin with all the "Base" packages, plus the
following "Devel" ones:
@example
-binutils, gcc-core, make, subversion, mingw-runtime
+binutils, gcc4-core, make, subversion, mingw-runtime, texi2html
@end example
And the following "Utils" one:
@@ -939,33 +938,21 @@ And the following "Utils" one:
diffutils
@end example
-The experimental gcc4 package is still buggy, hence please
-use the official gcc 3.4.4 or a 4.2.x compiled from source by yourself.
-
-Install the current binutils-20080624-2 as they work fine (the old
-binutils-20060709-1 proved buggy on shared builds).
-
-Then create a small library that just contains llrint():
-
-@example
-ar x /usr/lib/mingw/libmingwex.a llrint.o
-ar cq /usr/local/lib/libllrint.a llrint.o
-@end example
-
Then run
@example
-./configure --enable-static --disable-shared --extra-ldflags='-L /usr/local/lib' --extra-libs='-l llrint'
+./configure --enable-static --disable-shared
@end example
-to make a static build or
+to make a static build.
+
+The current @code{gcc4-core} package is buggy and needs this flag to build
+shared libraries:
@example
-./configure --enable-shared --disable-static --extra-ldflags='-L /usr/local/lib' --extra-libs='-l llrint'
+./configure --enable-shared --disable-static --extra-cflags=-fno-reorder-functions
@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:
@example