OSDN Git Service

Add documents.
authorYing-Chun Liu (PaulLiu) <paulliu@debian.org>
Thu, 13 Mar 2014 05:16:37 +0000 (13:16 +0800)
committerYing-Chun Liu (PaulLiu) <paulliu@debian.org>
Thu, 13 Mar 2014 05:16:37 +0000 (13:16 +0800)
README.win32 [new file with mode: 0644]

diff --git a/README.win32 b/README.win32
new file mode 100644 (file)
index 0000000..58803a9
--- /dev/null
@@ -0,0 +1,23 @@
+= Win32 instructions =
+
+This document describe how to build and use this program in win32.
+
+== Compile ==
+
+This program depends on libsndfile. So we need to have win32 libsndfile first.
+In Debian we can do the following to get libsndfile dll.
+
+ 1. apt-get source libsndfile
+ 2. ./configure --disable-sqlite --disable-external-libs --host 'i586-mingw32msvc'; make
+ 3. libsndfile-1.dll will be at src/.libs/
+
+Now we start build wavtool-pl.
+
+ 1. ./configure --host 'i586-mingw32msvc' SNDFILE_LIBS="-L/tmp/libsndfile-*/src/.libs -lsndfile-1" SNDFILE_CFLAGS="-I/tmp/libsndfile-*/src/"
+ 2. make
+ 3. wavtool-pl.exe will be at src/
+
+To make a win32 binary, you'll need to put wavtool-pl.exe libsndfile-1.dll
+together. And be aware that you might also need other dll dependencies
+like libgcc_s_sjlj-1.dll and libwinpthread-1.dll which is on your system.
+You can use wine to verify that.