README.mingw 658 B

123456789101112131415161718192021222324
  1. = Cross-compiling under mingw =
  2. Just running 'make' in this directory should download
  3. and build opusfile and its dependencies. Some mingw
  4. libraries need to be compiled into the final package.
  5. == Generic instructions ==
  6. To build opusfile under mingw, you need to first build:
  7. libogg
  8. libopus
  9. openssl
  10. For 'make check' to work, you may need wine installed.
  11. To build openssl, try:
  12. CROSS_COMPILE="i686-w64-mingw32-" ./Configure mingw no-asm no-shared --prefix=$PWD/mingw && make depend && make -j8 && make install
  13. To build opusfile, try:
  14. CC=i686-w64-mingw32-gcc PKG_CONFIG_PATH=$PWD/lib/pkgconfig RANLIB=i686-w64-mingw32-ranlib make -f ../unix/Makefile