From 4cef65c2f148d62eb1918e68e26b4298d9786a00 Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Sun, 22 May 2011 23:15:30 -0700 Subject: [perl #91354] win32/makefile.mk needs patching for gcc-4.x.x The current win32/makefile.mk wants us to edit it when we are using the gcc-4.x.x compiler. Firstly, we have to signify that we are using gcc-4.x.x, then we have to nominate (from a supplied list) the name of the helper dll that needs to be copied to the t folder (in order that the taint.t tests can pass). The supplied list of candidates is deficient - the name of the helper dll from one of my gcc compilers is not listed there. Also, I'm now finding that a second dll (libstdc++-6.dll) needs to be copied to the t folder - otherwise the taint.t test still crashes. The attached makefile.mk patch addresses these issues in such a way that we don't have to do any editting (re the using of gcc-4.x.x) of the makefile.mk at all. There's a small discussion about this on the p5p mailing list in the thread "win32/makefile.mk patch" (15 may 2011). This change to the makefile.mk means that README.win32 needs a slight modification - and the attached README.win32 patch addresses that issue. The README.win32 patch also alters the link to the 64-bit (mingw64) compiler made available by kmx. This has nothing to do with the subject of this bug report, but I don't see why that correction to the link (as suggested to me by kmx, in private correspondence) can't be made. --- README.win32 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'README.win32') diff --git a/README.win32 b/README.win32 index ba9f69a1b5..106d6990cb 100644 --- a/README.win32 +++ b/README.win32 @@ -80,7 +80,7 @@ The Windows SDK can be downloaded from L. The MinGW64 compiler is available at L. The latter is actually a cross-compiler targeting Win64. There's also a trimmed down compiler (no java, or gfortran) suitable for building perl available at: -L +L NOTE: If you're using a 32-bit compiler to build perl on a 64-bit Windows operating system, then you should set the WIN64 environment variable to "undef". @@ -362,9 +362,7 @@ may end up building against the installed perl's lib/CORE directory rather than the one being tested. You will have to make sure that CCTYPE is set correctly and that -CCHOME points to wherever you installed your compiler. If building with -gcc-4.x.x, you'll also need to uncomment the assignment to GCC_4XX and -uncomment the assignment to the appropriate GCCHELPERDLL in the makefile.mk. +CCHOME points to wherever you installed your compiler. If building with the cross-compiler provided by mingw-w64.sourceforge.net you'll need to uncomment the line that sets -- cgit v1.2.1