OSDN Git Service

Modify .gitignore and README.win32.
[wavtool-pl/wavtool-pl.git] / README.win32
1 = Win32 instructions =
2
3 This document describe how to build and use this program in win32.
4
5 == Compile ==
6
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.
9
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/
13
14 Now we start build wavtool-pl.
15
16  1. ./configure --host 'i586-mingw32msvc' SNDFILE_LIBS="-L/tmp/libsndfile-*/src/.libs -lsndfile-1" SNDFILE_CFLAGS="-I/tmp/libsndfile-*/src/"
17  2. make
18  3. wavtool-pl.exe will be at src/
19
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.
24
25 == Release ==
26
27 We use the following command
28
29  * 7z a '-xr!*.git' wavtool-pl-win32-<version>.7z wavtool-pl
30
31 to release the executable for wavtool-pl.