mingw gcc 静态 static 编译 dav1d libdav1d.a

export CC=/mingw/bin/gcc
export CXX=/mingw/bin/g++
meson --prefix "/usr/local" build --buildtype release --default-library static
ninja -C build
ninja -C build install

32位版本 编译好的下载地址 dav1d-0.3.1-20190614-a1e3f358-dev.7z
链接: https://pan.baidu.com/s/1lKtbPg5l8JwPIIstlI2Nug 提取码: hr73

----------------------------------------------------------------------------------------------------------
/build/libs/dav1d-20190614-a1e3f358
$ meson --prefix "/usr/local" build --buildtype release --default-library static
The Meson build system
Version: 0.50.1
Source dir: D:\MSYS\build\libs\dav1d-20190614-a1e3f358
Build dir: D:\MSYS\build\libs\dav1d-20190614-a1e3f358\build
Build type: native build
Project name: dav1d
Project version: 0.3.1
Appending CFLAGS from environment: '-ID:/MSYS/local/include'
Appending LDFLAGS from environment: '-LD:/MSYS/local/lib'
Appending CPPFLAGS from environment: '-ID:/MSYS/local/include'
Native C compiler: d:/msys/mingw/bin/gcc (gcc 8.1.0 "gcc (i686-posix-sjlj-rev0, Built by MinGW-W64 project) 8.1.0")
Build machine cpu family: x86
Build machine cpu: x86
Checking for function "fseeko" : YES
Check usable header "stdatomic.h" : YES
Check usable header "unistd.h" : YES
Check usable header "io.h" : YES
Checking for function "getopt_long" : YES
Checking for function "posix_memalign" : NO
Checking for function "_aligned_malloc" : YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C supports arguments -Wno-maybe-uninitialized -Wmaybe-uninitialized: YES
Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Wshorten-64-to-32: NO
Compiler for C supports arguments -msse2: YES
Compiler for C supports arguments -mfpmath=sse: YES
Compiler for C supports arguments -fomit-frame-pointer: YES
Compiler for C supports arguments -ffast-math: YES
Compiler for C supports arguments -mpreferred-stack-boundary=4: YES
Configuring config.h using configuration
Configuring config.asm using configuration
Program nasm found: YES (D:\MSYS\opt\bin\nasm.EXE)
Configuring version.h using configuration

Configuring Doxyfile using configuration
Library m found: YES
Program objcopy found: YES (d:\msys\mingw\bin\objcopy.EXE)
Checking for function "posix_memalign" : NO
Build targets in project: 12
Found ninja-1.9.0 at 'D:\MSYS\opt\meson\ninja.EXE'

/build/libs/dav1d-20190614-a1e3f358
$ ninja -C build
ninja: Entering directory `build'
[107/107] Linking target tools/dav1d.exe.

/build/libs/dav1d-20190614-a1e3f358
$ ninja -C build install
ninja: Entering directory `build'
[1/2] Installing files.
Installing src\libdav1d.a to D:/MSYS/local\lib
Installing tools\dav1d.exe to D:/MSYS/local\bin
Installing D:\MSYS\build\libs\dav1d-20190614-a1e3f358\include\dav1d\common.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d-20190614-a1e3f358\include\dav1d\data.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d-20190614-a1e3f358\include\dav1d\dav1d.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d-20190614-a1e3f358\include\dav1d\headers.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d-20190614-a1e3f358\include\dav1d\picture.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d-20190614-a1e3f358\build\include\dav1d\version.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d-20190614-a1e3f358\build\meson-private\dav1d.pc to D:/MSYS/local\lib\pkgconfig
----------------------------------------------------------------------------------------------------------

 

posted @ 2019-06-17 14:12  1CM  阅读(1050)  评论(0编辑  收藏  举报