GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing ffmpeg.org — Platform Specific Information Table of Contents1 Unix-like# TOC1.1 Advanced linking configuration# TOCIf you compiled FFmpeg libraries statically and you want to use them to
build your own shared library, you may need to force PIC support (with
-Wl,-Bsymbolic If your target platform requires position independent binaries, you should
pass the correct linking flag (e.g. 1.2 BSD# TOCBSD make will not build FFmpeg, you need to install and use GNU Make
( 1.3 (Open)Solaris# TOCGNU Make is required to build FFmpeg, so you have to invoke ( 1.4 Darwin (Mac OS X, iPhone)# TOCThe toolchain provided with Xcode is sufficient to build the basic unaccelerated code. macOS on x86 requires 2 DOS# TOCUsing a cross-compiler is preferred for various reasons. http://www.delorie.com/howto/djgpp/linux-x-djgpp.html 3 OS/2# TOCFor information about compiling FFmpeg on OS/2 see http://www.edm2.com/index.php/FFmpeg. 4 Windows# TOC4.1 Native Windows compilation using MinGW or MinGW-w64# TOCFFmpeg can be built to run natively on Windows using the MinGW-w64 toolchain. Install the latest versions of MSYS2 and MinGW-w64 from https://www.msys2.org/ and/or https://www.mingw-w64.org/. You can find detailed installation instructions in the download section and the FAQ. Notes:
4.1.1 Native Windows compilation using MSYS2# TOCThe MSYS2 MinGW-w64 environments provide ready to use toolchains and
dependencies through Launch the shell of the environment you want to build in using its
launcher, for example ucrt64.exe or the corresponding start menu
shortcut for UCRT64. Then install the toolchain and the FFmpeg
dependencies. The # normal msys2 packages pacman -S make pkgconf diffutils pactoys # mingw-w64 packages and toolchains for the current environment pacboy -S cc nasm SDL2 4.2 Microsoft Visual C++ or Intel C++ Compiler for Windows# TOCFFmpeg can be built with MSVC 2019 16.8 or later, the first version able to compile C11. You will need the following prerequisites: To set up a proper environment in MSYS2, you need to run
Place Next, make sure any other headers and libs you want to use, such as zlib, are
located in a spot that the compiler can see. Do so by modifying the Finally, run: For MSVC: ./configure --toolchain=msvc For ICL: ./configure --toolchain=icl make make install If you wish to compile shared libraries, add Notes:
4.2.1 Linking to FFmpeg with Microsoft Visual C++# TOCIf you plan to link with MSVC-built static libraries, you will need
to make sure you have If you plan on using import libraries created by dlltool, you must
set To create import libraries that work with the
4.3 Cross compilation for Windows with Linux# TOCYou must use the MinGW-w64 cross compilation tools, which most Linux distributions provide as packages. Then configure FFmpeg with the following options: ./configure --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- (you can change the cross-prefix according to the prefix chosen for the MinGW-w64 tools). Then you can easily test FFmpeg with Wine. 4.4 Compilation under Cygwin# TOCInstall your Cygwin with all the "Base" packages, plus the following "Devel" ones: binutils, gcc-core, make, git, texinfo In order to run FATE you will also need the following "Utils" packages: diffutils If you want to build FFmpeg with additional libraries, download Cygwin "Devel" packages for Ogg and Vorbis from any Cygwin packages repository: libogg-devel, libvorbis-devel 4.5 Crosscompilation for Windows under Cygwin# TOCWith Cygwin you can create Windows binaries that do not need the cygwin1.dll. Just install your Cygwin as explained before, plus the MinGW-w64 cross toolchain "Devel" packages: mingw64-x86_64-gcc-core, mingw64-x86_64-binutils and configure with: ./configure --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- 4.6 ARM64EC# TOCFFmpeg does not intend to support the Windows ARM64EC build configuration; patches for changing the individual libraries for the purposes of ARM64EC will not be accepted. It may still be possible to build FFmpeg in this build configuration; such a build may seem to work to some extent. Such a build may have some amounts of ABI inconsistencies though - which we are not willing to fix. (Changing aarch64 assembly code to strictly support ARM64EC would require ifdeffing/changing essentially all such assembly code, and would be a huge maintenance burden. Additionally, changing the library ABI surfaces to fix ABI inconsistencies could require extensive and intrusive changes.) This document was generated using makeinfo. Hosting provided by telepoint.bg |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |