(I've missed the window to get this into 0.41, but not a problem) This cygwin patch is now required as both static and shared versions of libparrot being built (which they weren't when I first wrote the patch which went in last night).
Strangely, cygwin ld prefers to link with libparrot.a in preference to libparrot.dll, so I'm setting the has_static_linking=>0, and also updated the PLATFORMS file. We're as a pretty good point to close #37303, #36836 and #36540. Cheers, Nick
Index: config/init/hints/cygwin.pm =================================================================== --- config/init/hints/cygwin.pm (revision 10981) +++ config/init/hints/cygwin.pm (working copy) @@ -25,6 +25,7 @@ ld_share_flags => '-shared', ld_load_flags => '-shared', libs => $libs, + has_static_linking => 0, has_dynamic_linking => 1, parrot_is_shared => 1 ); Index: PLATFORMS =================================================================== --- PLATFORMS (revision 10981) +++ PLATFORMS (working copy) @@ -42,7 +42,7 @@ tru64-alpha-dec_c_v6.5 8 Y Y Y 20040816 vms win32-bcc -win32-cygwin_1.5.11_1 Y Y - Y*5 Y Y Y 20041006 +win32-cygwin_1.5.18 Y Y - Y Y Y*5 Y/2 20060108 win32-icl_8.0.48 - Y - - - Y Y/2 win32-mingw-gcc3.4.2 Y Y Y - - Y Y/10 Y 20051202 win32-msvc_6.0 - Y - - - Y Y 20050804 @@ -75,8 +75,7 @@ *2 needs Configure.pl --define=inet_aton *3 kernel 2.6.1 NPTL: signal_2 and _4 failing due to test script problems *4 need deactivating of PARROT_HAS_HEADER_DLFCN -*5 by enabling cygwin in t/pmc/threads.t, some tests fail due to a bug in - that release. 1.5.10-3 and latest snapshots are ok. +*5 need PATH=$PATH:$PWD/blib/lib to locate DLL *6 needs "gmake" *7 needs perl Configure.pl --cc=gcc --link=gcc --ld=gcc --cxx=gcc