3 This document describe how to build and use this program in win32.
7 This program depends on libsndfile. So we need to have win32 libsndfile first.
8 In Debian we can do the following to get libsndfile dll.
10 1. apt-get source libsndfile
11 2. ./configure --disable-sqlite --disable-external-libs --host 'i586-mingw32msvc'; make
12 3. libsndfile-1.dll will be at src/.libs/
14 Now we start build wavtool-pl.
16 1. ./configure --host 'i586-mingw32msvc' SNDFILE_LIBS="-L/tmp/libsndfile-*/src/.libs -lsndfile-1" SNDFILE_CFLAGS="-I/tmp/libsndfile-*/src/"
18 3. wavtool-pl.exe will be at src/
20 To make a win32 binary, you'll need to put wavtool-pl.exe libsndfile-1.dll
21 together. And be aware that you might also need other dll dependencies
22 like libgcc_s_sjlj-1.dll and libwinpthread-1.dll which is on your system.
23 You can use wine to verify that.
27 We use the following command
29 * 7z a '-xr!*.git' wavtool-pl-win32-<version>.7z wavtool-pl
31 to release the executable for wavtool-pl.