Re: [PD-dev] Compiling debug mode for GDB on MSYS2 MINGW64

2023-05-27 Thread Pierre Mallard
uff with the > sources in msw/README.txt. > > On May 19, 2023, at 12:00 PM, pd-dev-requ...@lists.iem.at wrote: > > Message: 3 > Date: Fri, 19 May 2023 09:17:57 +0200 > From: Pierre Mallard > To: Christof Ressi > Cc: pd-dev@lists.iem.at > Subject: Re: [PD-dev] Compiling debug mode f

Re: [PD-dev] Compiling debug mode for GDB on MSYS2 MINGW64

2023-05-19 Thread Dan Wilcox
m>> > To: Christof Ressi mailto:i...@christofressi.com>> > Cc: pd-dev@lists.iem.at <mailto:pd-dev@lists.iem.at> > Subject: Re: [PD-dev] Compiling debug mode for GDB on MSYS2 MINGW64 > Message-ID: ><mailto:CAKODt8xPxkv=mC9t9fU6LfY=bfoi651e55u5rotx73taxue..

Re: [PD-dev] Compiling debug mode for GDB on MSYS2 MINGW64

2023-05-19 Thread Christof Ressi
Thanks for the trick, it could be nice to complete the wiki on http://puredata.info/docs/developer/BuildingPd with at least your approach That is just an ugly hack and I wouldn't publicy advertize it :-) BTW, if you can endure the slowness, you can also manually call the 'msw-app.sh' script

Re: [PD-dev] Compiling debug mode for GDB on MSYS2 MINGW64

2023-05-19 Thread Pierre Mallard
Hello Chris and everyone, Thanks for the trick, it could be nice to complete the wiki on http://puredata.info/docs/developer/BuildingPd with at least your approach (mine would require to patch msw/Makefile.am) Let me know if it is worth it, I don't have an account there. Bye Le jeu. 18 mai 2023

Re: [PD-dev] Compiling debug mode for GDB on MSYS2 MINGW64

2023-05-18 Thread Christof Ressi
Hi, yes, "make app" strips the binaries by default. Since autotools/libtool is incredibly slow on Windows, I typically only do "make app" once in the beginning; in my IDE I have a added a custom build step "cp ./src/pd.dll ./pd-0.x.x/bin" that just copies the (unstripped) Pd DLL into the bin

[PD-dev] Compiling debug mode for GDB on MSYS2 MINGW64

2023-05-18 Thread Pierre Mallard
Hello everyone, I have been struggling a few days to achieve using gdb on msys2 mingw64. In case anyone is interested, here is how I finally succeed in using gdb. Note that I am a newbee on both autotools and pd so maybe there is a much more straightforward way to do so. Edit msw/Makefile.am to