> On 6 Sep 2002 at 11:15, Andy Dougherty wrote:
> 
> > I've been told that my patch #16937 (which changes ld_shared from the
> > hard-wired wrong value of -shared to $Config{lddlflags}, which is the
> > variable designed in perl5 for this precise use) breaks cygwin.  But in
> > the current state of affairs, without this patch, every other build that
> > doesn't use GNU binutils is broken.

This patch should make cygwin happy.  This should be applied on top of
#16937.  Many thanks to  Markus Laire for patient testing and answering my
many questions.

Note that GNU diff reports "No newline at end of file".  I'm not sure
how all the different patch versions will handle that.

diff -r -u parrot-orig/config/init/hints/cygwin.pl 
parrot-andy/config/init/hints/cygwin.pl
--- parrot-orig/config/init/hints/cygwin.pl     Fri May 24 02:24:27 2002
+++ parrot-andy/config/init/hints/cygwin.pl     Mon Sep  9 16:08:32 2002
@@ -1,3 +1,10 @@
+# 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
+# perl5 Configure defaults and use 'gcc -shared' instead of 'ld2'.
+# If this later causes problems, it might be worth revisiting.
+# A. Dougherty 9/9/2002
 Configure::Data->set(
   ld => 'gcc'
-);
\ No newline at end of file
+  ld_shared => '-shared'
+);

-- 
    Andy Dougherty              [EMAIL PROTECTED]
    Dept. of Physics
    Lafayette College, Easton PA 18042

Reply via email to