Patches item #3395874, was opened at 2011-08-21 21:05 Message generated for change (Comment added) made by patrco You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3395874...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pd-extended Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Patrice Colet (patrco) Assigned to: Hans-Christoph Steiner (eighthave) Summary: get new build system working on MinGW
Initial Comment: those patches allow to build pd with libtools on msys, like OSX and linux
----------------------------------------------------------------------
Comment By: Patrice Colet (patrco)
Date: 2011-09-25 09:13
Message: AM_CLAGS doesn't work as well but this one is okay:
dnl If CFLAGS isn't defined and using gcc, set CFLAGS to something reasonable. dnl Otherwise, just prevent autoconf from molesting CFLAGS. CFLAGS=$CFLAGS AC_PROG_CC if test "x$CFLAGS" = "x" ; then no_CFLAGS="yes" fi if test "x$no_CFLAGS" = "xyes" -a "x$GCC" = "xyes" ; then CFLAGS="-O6 -funroll-loops -fomit-frame-pointer -DMSW" fi
Now I can see the -DMSW in CFLAGS so compile doesn't stop with alloooca.h error
but now there is another error:
s_file.c:36:1: error: initializer element is not constant this variable seems to need malloc(), so I've commented it to go further, now there is same problem with LDFLAGS
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2011-09-22 16:02
Message: Oh, I just had a thought, I think -DMSW should go into AM_CFLAGS, that should do it. Which reminds me, we should probably also add -DWINVER=0x0501 to set the min supported Windows to XP.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2011-09-22 13:52
Message: I couldn't have -DMSW working too
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2011-09-21 21:26
Message: I boiled down these patches into 0001-get-pd.exe-linking-with-g-when-building-ASIO-on-Mi.patch except for the libpd_la stuff, which I couldn't get working. That's all in src-makefile.am-win32.patch so I left that patch, and deleted the other two. patko, can you get the libpd_la DLL stuff working? Did you have that working before? I was having trouble getting -DMSW to work
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3395874...