Update of /cvsroot/pure-data/externals/build/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19018
Modified Files: bdiag~.c bfft~.c ibfft~.c junction~.c knob.c mtx_rowrfft.c mtx_rowrifft.c shell.c Log Message: various tweaks and hacks to get things compiling with MinGW; Some still don't compile, like net*, ogg*, comport, and shell
Index: knob.c =================================================================== RCS file: /cvsroot/pure-data/externals/build/src/knob.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** knob.c 7 Apr 2003 11:18:55 -0000 1.1 --- knob.c 16 Nov 2005 22:48:22 -0000 1.2 *************** *** 1,3 **** ! #include <../../footils/knob/knob.c>
--- 1,8 ---- ! /* ! * On MinGW, it dies here: ! * knob.o(.text+0x1a58):knob.c: undefined reference to `sys_noloadbang' ! */ ! #ifndef WIN32 #include <../../footils/knob/knob.c> + #endif
Index: bdiag~.c =================================================================== RCS file: /cvsroot/pure-data/externals/build/src/bdiag~.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** bdiag~.c 15 Nov 2005 05:36:40 -0000 1.4 --- bdiag~.c 16 Nov 2005 22:48:22 -0000 1.5 *************** *** 4,6 **** --- 4,7 ---- #include "../../creb/include/extlib_util.h" #endif + #include "../../creb/modules/bdiag.c"
Index: junction~.c =================================================================== RCS file: /cvsroot/pure-data/externals/build/src/junction~.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** junction~.c 15 Nov 2005 05:36:40 -0000 1.3 --- junction~.c 16 Nov 2005 22:48:22 -0000 1.4 *************** *** 1 **** --- 1,9 ---- + /* + * hack to work around my lack of Windows linking knowledge + * hans@at.or.at + */ + #ifdef WIN32 + #include "../../../pd/src/d_mayer_fft.c" + #endif + #include "../../creb/modules/junction.c"
Index: mtx_rowrfft.c =================================================================== RCS file: /cvsroot/pure-data/externals/build/src/mtx_rowrfft.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_rowrfft.c 7 Nov 2005 04:32:00 -0000 1.1 --- mtx_rowrfft.c 16 Nov 2005 22:48:22 -0000 1.2 *************** *** 1,2 **** --- 1,10 ---- + /* + * hack to work around my lack of Windows linking knowledge + * hans@at.or.at + */ + #ifdef WIN32 + #include "../../../pd/src/d_mayer_fft.c" + #endif + #include "../../iem/iemmatrix/src/mtx_matrix.c" #include "../../iem/iemmatrix/src/mtx_rowrfft.c"
Index: shell.c =================================================================== RCS file: /cvsroot/pure-data/externals/build/src/shell.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** shell.c 14 Nov 2005 21:48:38 -0000 1.2 --- shell.c 16 Nov 2005 22:48:22 -0000 1.3 *************** *** 1 **** --- 1,7 ---- + /* + * this doesn't work for Windows, but it should be possible with MinGW or + * Cygwin hans@at.or.at + */ + #ifndef WIN32 #include "../../ggee/control/shell.c" + #endif
Index: ibfft~.c =================================================================== RCS file: /cvsroot/pure-data/externals/build/src/ibfft~.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ibfft~.c 15 Nov 2005 05:36:40 -0000 1.3 --- ibfft~.c 16 Nov 2005 22:48:22 -0000 1.4 *************** *** 1 **** --- 1,9 ---- + /* + * hack to work around my lack of Windows linking knowledge + * hans@at.or.at + */ + #ifdef WIN32 + #include "../../../pd/src/d_mayer_fft.c" + #endif + #include "../../creb/modules/bfft.c"
Index: mtx_rowrifft.c =================================================================== RCS file: /cvsroot/pure-data/externals/build/src/mtx_rowrifft.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_rowrifft.c 7 Nov 2005 04:32:00 -0000 1.1 --- mtx_rowrifft.c 16 Nov 2005 22:48:22 -0000 1.2 *************** *** 1,2 **** --- 1,10 ---- + /* + * hack to work around my lack of Windows linking knowledge + * hans@at.or.at + */ + #ifdef WIN32 + #include "../../../pd/src/d_mayer_fft.c" + #endif + #include "../../iem/iemmatrix/src/mtx_matrix.c" #include "../../iem/iemmatrix/src/mtx_rowrifft.c"
Index: bfft~.c =================================================================== RCS file: /cvsroot/pure-data/externals/build/src/bfft~.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bfft~.c 15 Nov 2005 05:36:40 -0000 1.3 --- bfft~.c 16 Nov 2005 22:48:22 -0000 1.4 *************** *** 1 **** --- 1,9 ---- + /* + * hack to work around my lack of Windows linking knowledge + * hans@at.or.at + */ + #ifdef WIN32 + #include "../../../pd/src/d_mayer_fft.c" + #endif + #include "../../creb/modules/bfft.c"