Freeverb3 VST plugins
Revision | 0ca60a0094a1dc76d7f740992bed0ba3b46ca8e8 (tree) |
---|---|
Zeit | 2017-07-16 00:17:48 |
Autor | Teru Kamogashira <tkamogashira@user...> |
Commiter | Teru Kamogashira |
Library updates
@@ -33,20 +33,22 @@ | ||
33 | 33 | You should use the SetupMinGWRuntime-*.exe if you are not sure where to install those |
34 | 34 | MinGW-w64 runtime dll files. The setup program supports both 32bit and 64bit system. |
35 | 35 | |
36 | -How to build binaries | |
37 | -===================== | |
36 | +How to build binaries (Windows) | |
37 | +=============================== | |
38 | 38 | |
39 | -This VST plugin can be built on the following environment. | |
39 | +VST plugin for Windows can be built under the following environment. | |
40 | 40 | |
41 | 41 | - MinGW-w64 (32bit/64bit) cross compiler on Linux (or most UNIX platforms) |
42 | 42 | [http://mingw-w64.sourceforge.net/] |
43 | 43 | |
44 | -- Apple GCC cross compiler with Mac OS X SDK | |
44 | +Binary packages of mingw-w64 with some changes below are used to build the Freeverb3VST binary package. | |
45 | 45 | |
46 | -The versions over MinGW-w64-1.0/gcc-4.5.0 Apple_gcc-4.0.1/odcctools-698,758/SDK-10.4u/SDK-10.5 are supported. | |
47 | -The configure example shell scripts are in the cross-sh directory. | |
46 | +mingw-w32-bin_i686-linux_20130523.tar.bz2 -> /opt/MinGW-w32 | |
47 | +mingw-w64-bin_i686-linux_20130523.tar.bz2 -> /opt/MinGW-w64 | |
48 | 48 | |
49 | -If you build these binary packages normally on MinGW, the VST plugin dlls and exes | |
49 | +These files are available from the dev package download site of Freeverb3VST or MinGW-w64 sourceforge download site. | |
50 | + | |
51 | +If you build Freeverb3VST without any changes on MinGW, the VST plugin dlls and exes | |
50 | 52 | will depend on some dlls of MinGW-w64. These MinGW-w64 dlls can be installed |
51 | 53 | using the installer on the freeverb3's SF.net download page. |
52 | 54 |
@@ -66,6 +68,16 @@ | ||
66 | 68 | move $ARCH/lib/libgcc_s.a -> $ARCH/lib/libgcc_s.a.orig |
67 | 69 | link lib/gcc/$ARCH/$VERSION/libgcc.a -> $ARCH/lib/libgcc_s.a |
68 | 70 | |
71 | +How to build binaries (MacOSX) | |
72 | +=============================== | |
73 | + | |
74 | +VST plugin for MacOSX can be built under the following environment. | |
75 | + | |
76 | +- Apple GCC cross compiler with Mac OS X SDK | |
77 | + | |
78 | +The versions over MinGW-w64-1.0/gcc-4.5.0 Apple_gcc-4.0.1/odcctools-698,758/SDK-10.4u/SDK-10.5 are supported. | |
79 | +The configure example shell scripts are in the cross-sh directory. | |
80 | + | |
69 | 81 | SOURCES |
70 | 82 | ======= |
71 | 83 |
@@ -9,23 +9,62 @@ | ||
9 | 9 | FFTW3_SRC=fftw-3.3.6-pl2.tar.gz |
10 | 10 | FFTW3_DIR=fftw-3.3.6-pl2 |
11 | 11 | |
12 | -FFTW3_SRC2=fftw-3.3.4.tar.gz | |
13 | -FFTW3_DIR2=fftw-3.3.4 | |
14 | - | |
15 | 12 | if [ ! -f "$FFTW3_SRC" ]; then |
16 | 13 | echo "$FFTW3_SRC" not found. |
17 | 14 | exit -1 |
18 | 15 | fi |
19 | 16 | |
20 | -if [ ! -f "$FFTW3_SRC2" ]; then | |
21 | - echo "$FFTW3_SRC2" not found. | |
22 | - exit -1 | |
23 | -fi | |
17 | +tar -zxvf "$FFTW3_SRC" | |
24 | 18 | |
25 | -tar -zxvf "$FFTW3_SRC" | |
26 | -tar -zxvf "$FFTW3_SRC2" | |
19 | +# Mac | |
27 | 20 | |
28 | -# ==== 32bit ==== | |
21 | +# AMD64 | |
22 | +PATH=/opt/mac/x64/bin:$PATH | |
23 | +target=x86_64-apple-darwin9 | |
24 | +host=x86_64-linux-gnu | |
25 | +set_cmd_mac64 | |
26 | +export CFLAGS="$SPFLAGS -Wall -O3 -ffast-math -march=nocona -mfpmath=sse -I /opt/mac/x64/lib/gcc/x86_64-apple-darwin9/4.0.1/include" | |
27 | +export CXXFLAGS=$CFLAGS | |
28 | +(cd "$FFTW3_DIR"; make distclean; \ | |
29 | +./configure --prefix=/opt/mac/x64 --host=$host --target=$target --disable-debug --with-our-malloc --enable-sse --enable-single --enable-static --disable-shared; \ | |
30 | +$MAKE; cp .libs/libfftw3f.a ../libfftw3f-mac-x64.a) | |
31 | + | |
32 | +# PPC64 | |
33 | +PATH=/opt/mac/p64/bin:$PATH | |
34 | +target=powerpc64-apple-darwin9 | |
35 | +host=x86_64-linux-gnu | |
36 | +set_cmd_mac64 | |
37 | +export CFLAGS="$SPFLAGS -Wall -O2 -ffast-math -I /opt/mac/p64/lib/gcc/powerpc64-apple-darwin9/4.0.1/include" | |
38 | +export CXXFLAGS=$CFLAGS | |
39 | +(cd "$FFTW3_DIR"; make distclean; \ | |
40 | +./configure --prefix=/opt/mac/p64 --host=$host --target=$target --disable-debug --enable-altivec --enable-single --enable-static --disable-shared; \ | |
41 | +$MAKE; cp .libs/libfftw3f.a ../libfftw3f-mac-p64.a) | |
42 | + | |
43 | +# PPC | |
44 | +PATH=/opt/mac/bin:$PATH | |
45 | +target=powerpc-apple-darwin8 | |
46 | +host=x86_64-linux-gnu | |
47 | +set_cmd_mac | |
48 | +export CFLAGS="$SPFLAGS -Wall -O2 -ffast-math -I /opt/mac/lib/gcc/powerpc-apple-darwin8/4.0.1/include" | |
49 | +export CXXFLAGS=$CFLAGS | |
50 | +(cd "$FFTW3_DIR"; make distclean; \ | |
51 | +./configure --prefix=/opt/mac --host=$host --target=$target --disable-debug --enable-altivec --enable-single --enable-static --disable-shared; \ | |
52 | +$MAKE; cp .libs/libfftw3f.a ../libfftw3f-mac-ppc.a) | |
53 | + | |
54 | +# X86 | |
55 | +PATH=/opt/mac/bin:$PATH | |
56 | +target=i686-apple-darwin8 | |
57 | +host=x86_64-linux-gnu | |
58 | +set_cmd_mac | |
59 | +export CFLAGS="$SPFLAGS -Wall -O3 -ffast-math -march=prescott -mfpmath=sse -I /opt/mac/lib/gcc/i686-apple-darwin8/4.0.1/include" | |
60 | +export CXXFLAGS=$CFLAGS | |
61 | +(cd "$FFTW3_DIR"; make distclean; \ | |
62 | +./configure --prefix=/opt/mac --host=$host --target=$target --disable-debug --with-our-malloc --enable-sse --enable-single --enable-static --disable-shared; \ | |
63 | +$MAKE; cp .libs/libfftw3f.a ../libfftw3f-mac-x86.a) | |
64 | + | |
65 | +i686-apple-darwin8-lipo -create libfftw3f-mac-x86.a libfftw3f-mac-ppc.a libfftw3f-mac-x64.a libfftw3f-mac-ppc64.a -output libfftw3f-mac.a | |
66 | + | |
67 | +# ==== Windows 32bit ==== | |
29 | 68 | |
30 | 69 | PATH=/opt/MinGW-w32/bin:$PATH |
31 | 70 | target=i686-w64-mingw32 |
@@ -102,7 +141,7 @@ | ||
102 | 141 | --with-our-malloc --enable-avx --enable-double --enable-static --disable-shared; \ |
103 | 142 | $MAKE; cp .libs/libfftw3.a ../libfftw3-avx.a) |
104 | 143 | |
105 | -# ==== 64bit ==== | |
144 | +# ==== Windows 64bit ==== | |
106 | 145 | |
107 | 146 | PATH=/opt/MinGW-w64/bin:$PATH |
108 | 147 | target=x86_64-w64-mingw32 |
@@ -138,56 +177,7 @@ | ||
138 | 177 | export CXXFLAGS=$CFLAGS |
139 | 178 | (cd "$FFTW3_DIR"; make distclean; \ |
140 | 179 | ./configure --prefix=/opt/MinGW-w64 --host=$host --target=$target --disable-debug \ |
141 | ---with-our-malloc --enable-sse2 --enable-double --enable-static --disable-shared; \ | |
180 | +--with-our-malloc --enable-avx --enable-double --enable-static --disable-shared; \ | |
142 | 181 | $MAKE; cp .libs/libfftw3.a ../libfftw3-x64-avx.a) |
143 | 182 | |
144 | -# --- | |
145 | -# Mac | |
146 | - | |
147 | -# AMD64 | |
148 | -PATH=/opt/mac/x64/bin:$PATH | |
149 | -target=x86_64-apple-darwin9 | |
150 | -host=x86_64-linux-gnu | |
151 | -set_cmd_mac64 | |
152 | -export CFLAGS="$SPFLAGS -Wall -O3 -ffast-math -march=nocona -mfpmath=sse -I /opt/mac/x64/lib/gcc/x86_64-apple-darwin9/4.0.1/include" | |
153 | -export CXXFLAGS=$CFLAGS | |
154 | -(cd "$FFTW3_DIR2"; make distclean; \ | |
155 | -./configure --prefix=/opt/mac/x64 --host=$host --target=$target --disable-debug --with-our-malloc --enable-sse --enable-single --enable-static --disable-shared; \ | |
156 | -$MAKE; cp .libs/libfftw3f.a ../libfftw3f-mac-x64.a) | |
157 | - | |
158 | -# PPC64 | |
159 | -PATH=/opt/mac/p64/bin:$PATH | |
160 | -target=powerpc64-apple-darwin9 | |
161 | -host=x86_64-linux-gnu | |
162 | -set_cmd_mac64 | |
163 | -export CFLAGS="$SPFLAGS -Wall -O2 -ffast-math -I /opt/mac/p64/lib/gcc/powerpc64-apple-darwin9/4.0.1/include" | |
164 | -export CXXFLAGS=$CFLAGS | |
165 | -(cd "$FFTW3_DIR2"; make distclean; \ | |
166 | -./configure --prefix=/opt/mac/p64 --host=$host --target=$target --disable-debug --enable-altivec --enable-single --enable-static --disable-shared; \ | |
167 | -$MAKE; cp .libs/libfftw3f.a ../libfftw3f-mac-p64.a) | |
168 | - | |
169 | -# X86 | |
170 | -PATH=/opt/mac/x86/bin:$PATH | |
171 | -target=i686-apple-darwin8 | |
172 | -host=x86_64-linux-gnu | |
173 | -set_cmd_mac | |
174 | -export CFLAGS="$SPFLAGS -Wall -O3 -ffast-math -march=prescott -mfpmath=sse -I /opt/mac/x86/lib/gcc/i686-apple-darwin8/4.0.1/include" | |
175 | -export CXXFLAGS=$CFLAGS | |
176 | -(cd "$FFTW3_DIR2"; make distclean; \ | |
177 | -./configure --prefix=/opt/mac/x86 --host=$host --target=$target --disable-debug --with-our-malloc --enable-sse --enable-single --enable-static --disable-shared; \ | |
178 | -$MAKE; cp .libs/libfftw3f.a ../libfftw3f-mac-x86.a) | |
179 | - | |
180 | -# PPC | |
181 | -PATH=/opt/mac/ppc/bin:$PATH | |
182 | -target=powerpc-apple-darwin8 | |
183 | -host=x86_64-linux-gnu | |
184 | -set_cmd_mac | |
185 | -export CFLAGS="$SPFLAGS -Wall -O2 -ffast-math -I /opt/mac/ppc/lib/gcc/powerpc-apple-darwin8/4.0.1/include" | |
186 | -export CXXFLAGS=$CFLAGS | |
187 | -(cd "$FFTW3_DIR2"; make distclean; \ | |
188 | -./configure --prefix=/opt/mac/ppc --host=$host --target=$target --disable-debug --enable-altivec --enable-single --enable-static --disable-shared; \ | |
189 | -$MAKE; cp .libs/libfftw3f.a ../libfftw3f-mac-ppc.a) | |
190 | - | |
191 | -i686-apple-darwin8-lipo -create libfftw3f-mac-x86.a libfftw3f-mac-ppc.a libfftw3f-mac-x64.a libfftw3f-mac-ppc64.a -output libfftw3f-mac.a | |
192 | - | |
193 | 183 | exit 0 |