----- Original Message -----
From: Jonathan Wilkes jancsika@yahoo.com To: Thomas Grill gr@grrrr.org Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, May 8, 2013 9:24 PM Subject: Re: [PD] problems with building flext with mingw
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Jonathan Wilkes jancsika@yahoo.com Cc: Roman Haefeli reduzent@gmail.com; "pd-list@iem.at"
Sent: Wednesday, May 8, 2013 5:40 PM Subject: Re: [PD] problems with building flext with mingw
Hi Jonathan, thanks for your feedback - i have to admit i haven't run mingw (or even Windows) for years. It's almost a surprise that it still works with some tweaking. I would be thankful for a diff to patch the flext build system according to your findings.
Hm... wouldn't you be better off simply removing all the configuration stuff that forces the user to specify where to find pthread stuff? If it now comes with mingw shouldn't your source code simply be able to have <pthread.h> or whatever and it "just works"?
I'll post a guide later today (or possibly tomorrow) which will show the hacks I'm making. Basically I specify "C:\MinGW\include" for the headers, etc., which of course is inflexible and wouldn't work if the install path changes.
-Jonathan
gr~~~
Once I get through it and compile a few externals successfully I'll send you one. The nice thing with mingw is that it's _min_imal and-- if I understand it-- you can use the binaries without needing to have mingw (or cygwin) installed on the system. Plus its free beer/freedom. :)
-Jonathan
-- Thomas Grill http://grrrr.org
Am 08.05.2013 um 23:28 schrieb Jonathan Wilkes:
----- Original Message -----
From: Jonathan Wilkes jancsika@yahoo.com To: Thomas Grill gr@grrrr.org; Roman Haefeli
Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, May 8, 2013 1:09 PM Subject: Re: [PD] problems with building flext with mingw
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Roman Haefeli reduzent@gmail.com Cc: pd-list@iem.at Sent: Wednesday, May 8, 2013 3:23 AM Subject: Re: [PD] problems with building flext with mingw
Actually i have encountered this issue, but haven't had
the
time and
nerve
to deal with it in the Windows batch file
"language".
It's a
quite
tricky issue and i am not sure it is really solvable. But contributions are
welcome!
Found it in: buildsys/win/pd/gnumake-mingw
The -lpthreadVC flag must come last. (Not sure how you got it to compile that way.)
But with the newest version of mingw-get-inst the real solution is to remove the entire ifdef around setting those flags because pthread is included with mingw (contrary to the mingw documentation which explicitly says its missing).
Also the -mno-cygwin flag is no longer supported and will break the compilation so it must be removed.
-Jonathan
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list