Re: gcc for building Perl on WinXP

2011-11-12 Thread kmx
Hi Rob, Just getting to it now. (I know Chris has already established that the pthreads suport builds fine using his small patch to pthread.h. I'm building PDL-2.4.9_009, also with pthreads support as provided by 2), above - and also with Chris's amendment to pthread.h.) First thing I

Re: gcc for building Perl on WinXP

2011-11-12 Thread Sisyphus
- Original Message - From: kmx Apart from: http://strawberryperl.com/package/kmx/p5.14.2.1-RC/strawberry-perl-5.14.2.1-portable-32bit-beta-1.zip http://strawberryperl.com/package/kmx/32_libs/5.14-extras/32bit_pthreads-2.9.0-bin_2001.zip We have also prepared other PDL handy

Re: gcc for building Perl on WinXP

2011-11-11 Thread Mark Dootson
Hi, My own efforts to support building Perl + wxWidgets have resulted in http://sourceforge.net/projects/perlmingw/files/ It is a build of 4.6.2 with pthreads and includes gfortran and libquadmath. It seems to build PDL from git without problems. The bundled Config_MinGWFP ( set

Re: gcc for building Perl on WinXP

2011-11-07 Thread Chris Marshall
Are you sure this is the latest PDL git from sf.net? The error here looks like something that has already been fixed as of CPAN developers release 2.4.9_008 according to the PDL Release_Notes. --Chris On Mon, Nov 7, 2011 at 4:07 PM, kmx k...@atlas.cz wrote: Chris, that sounds great, however

Re: gcc for building Perl on WinXP

2011-11-07 Thread kmx
Yes, dmake clean did the trick. Thanks. -- kmx On 7.11.2011 22:32, Chris Marshall wrote: I just realized what might have happened. You'll need to do a dmake clean and then a complete build from scratch to ensure that old copies of the various files are not being used (some of these are

Re: gcc for building Perl on WinXP

2011-11-06 Thread kmx
Chris and/or Rob, could you please try the following: 1/ take http://strawberryperl.com/package/kmx/p5.14.2.1-RC/strawberry-perl-5.14.2.1-portable-32bit-beta-1.zip 2/ take http://strawberryperl.com/package/kmx/32_libs/5.14-extras/32bit_pthreads-2.9.0-bin_2001.zip (unzip into the same

Re: gcc for building Perl on WinXP

2011-11-06 Thread chm
Hi kmx- The detection for the pthread library is currently broken. To build PDL with pthreads you'll need to explicitly set the values of WITH_POSIX_THREADS, POSIX_THREADS_INC, and POSIX_THREADS_LIBS where the comment indicate what worked for my strawberry perl install was: WITH_POSIX_THREADS

Re: gcc for building Perl on WinXP

2011-11-03 Thread Chris Marshall
We've tested the PDL pthread support with POSIX Threads (pthreads) for Win32 at http://sourceware.org/pthreads-win32/ . It is nice because it allows PDL computations to make use of multicore processors for calculations. Always nice to see those factors of 2X, 4X, 6X, or more in speedup

Re: gcc for building Perl on WinXP

2011-11-02 Thread Chris Marshall
It would really simplify things for win32 PDL if an easy, 1-click addition for gfortran were available. We're spending a lot of development time working around the lack of a fortran compiler on win32 perls. Since gcc includes one, it is more of a packaging and distribution issue than one of

Re: gcc for building Perl on WinXP

2011-11-02 Thread kmx
For the strawberry perl we have both gcc + fortran packs 32bit: http://strawberryperl.com/package/kmx/32_gcctoolchain/mingw64-w32-gcc4.4.7-pre_2001.zip http://strawberryperl.com/package/kmx/32_gcctoolchain/mingw64-w32-gfortran4.4.7-pre_2001.zip 64bit:

Re: gcc for building Perl on WinXP

2011-11-02 Thread Sergei Steshenko
- Original Message - From: Mark Dootson mark.doot...@znix.com To: Chris Marshall devel.chm...@gmail.com Cc: Karel Miko karel.m...@hotmail.com; win32-vanilla@perl.org Sent: Wednesday, November 2, 2011 7:04 PM Subject: Re: gcc for building Perl on WinXP Hi, At mingw-w64 Oskan

Re: gcc for building Perl on WinXP

2011-11-02 Thread Mark Dootson
@perl.org Sent: Wednesday, November 2, 2011 7:04 PM Subject: Re: gcc for building Perl on WinXP Hi, At mingw-w64 Oskan Sezer (sezero) has updated his release of gcc 4.5.4 including latest patches. [snip] I do not see gcc-4.5.4 at gcc.gnu.org . The latest gcc-4.5.X I see is gcc-4.5.3. Does

Re: gcc for building Perl on WinXP

2011-11-02 Thread Sergei Steshenko
Dootson mark.doot...@znix.com To: Sergei Steshenko sergst...@yahoo.com Cc: win32-vanilla@perl.org win32-vanilla@perl.org Sent: Wednesday, November 2, 2011 8:08 PM Subject: Re: gcc for building Perl on WinXP It is the 32bit version of mingw-w64. Source at http://sourceforge.net/projects

Re: gcc for building Perl on WinXP

2011-11-02 Thread kmx
Mark, As you probably know strawberry perl is using sezero's gcc toolchain build since approx April 2010. We use nearly exactly the original sezero's gcc 4.4.x toolchain - there are basically 2 things we have changed 1/ sezero's gcc builds ignore gccroot/include dir when searching for *.h

Re: gcc for building Perl on WinXP

2011-11-02 Thread Sisyphus
- Original Message - From: kmx As for the future gcc-4.6.2 toolchain there is also an interesting question about including pthreads or winpthreads support as PDL is AFAIK somohow able to handle threads this way (not sure if this is valid for Win32) Yes, pthreads works with PDL on

Re: gcc for building Perl on WinXP

2011-11-01 Thread Karel Miko
In preparing the next Strawberry release you've no doubt noticed that mingw-w64 32bit version cannot build a working Perl after gcc version 4.4.3 on Windows XP. Yes, in fact it was during the last week when we have found out (with help of BinGOs and Ranguard via IRC) that gcc-4.4.7 and