# New Ticket Created by  Lars Balker Rasmussen 
# Please include the string:  [perl #23271]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=23271 >


The problem with Configure on cygwin was fairly simple - cygwin's perl
has been compiled with -lutil, which is not in the standard
distribution.  A simple fix to the hints file makes parrot compile on
cygwin and mostly complete the test-suite. (5 tests failed, 10 subtests).
-- 
Lars Balker Rasmussen                                      Consult::Perl



-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/62460/46036/1190fd/cygwin.patch

Index: config/init/hints/cygwin.pl
===================================================================
RCS file: /cvs/public/parrot/config/init/hints/cygwin.pl,v
retrieving revision 1.3
diff -u -a -r1.3 cygwin.pl
--- config/init/hints/cygwin.pl 12 Sep 2002 23:55:48 -0000      1.3
+++ config/init/hints/cygwin.pl 10 Aug 2003 20:06:53 -0000
@@ -1,3 +1,8 @@
+# cygwin's perl is compiled with -lutil, which for some reason is not 
+# in the standard installation, so we get rid of it
+my $libs = Configure::Data->get('libs');
+$libs =~ s/-lutil\b//g;
+
 # A note about building shared libraries:  Perl5 uses the 'ld2' tool, which
 # is installed as part of the perl5 installation.  So far, it appears
 # parrot can get by with simply using gcc -shared, so we override the
@@ -7,4 +12,5 @@
 Configure::Data->set(
   ld => 'gcc',
   ld_shared => '-shared',
+  libs => $libs,
 );

Reply via email to