aboutsummaryrefslogtreecommitdiffstats
path: root/doc/platform.texi
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-10-19 15:12:07 -0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-10-20 13:00:12 -0400
commiteed7406416c3707042c76d6c96ea537f832fde52 (patch)
treefe3c4277c8c482800bd8563d731775ad061a2c86 /doc/platform.texi
parent11a73745d5ee51d56c416cdc40c7a980186dbe40 (diff)
downloadffmpeg-eed7406416c3707042c76d6c96ea537f832fde52.tar.gz
doc/platform: Add info on shared builds with MSVC
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'doc/platform.texi')
-rw-r--r--doc/platform.texi11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/platform.texi b/doc/platform.texi
index 7499b9e8e9..68e23bf7c1 100644
--- a/doc/platform.texi
+++ b/doc/platform.texi
@@ -110,7 +110,7 @@ libavformat) as DLLs.
@section Microsoft Visual C++
FFmpeg can be built with MSVC using a C99-to-C89 conversion utility and
-wrapper. At this time, only static builds are supported.
+wrapper.
You will need the following prerequisites:
@@ -126,8 +126,8 @@ you want to run @uref{fate.html, FATE}.
To set up a proper MSVC environment in MSYS, you simply need to run
@code{msys.bat} from the Visual Studio command prompt.
-Place @code{c99wrap.exe}, @code{c99conv.exe}, and @code{yasm.exe} somewhere
-in your @code{PATH}.
+Place @code{makedef}, @code{c99wrap.exe}, @code{c99conv.exe}, and @code{yasm.exe}
+somewhere in your @code{PATH}.
Next, make sure @code{inttypes.h} and any other headers and libs you want to use
are located in a spot that MSVC can see. Do so by modifying the @code{LIB} and
@@ -143,6 +143,11 @@ make
make install
@end example
+If you wish to compile static libraries, add @code{--enable-shared} to your
+configure options. Note that due to the way MSVC handles DLL imports and
+exports, you cannot compile static and shared libraries at the same time, and
+enabling shared libraries will automatically disable the static ones.
+
Notes:
@itemize