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


This is a resubmit.  Configure currently hard-wires ld_shared to a
GNU-binutils-specific value of '-shared'.  This is wrong.  The correct
value should be available from perl5's $Config{lddlflags}.

I have been told that some perl5 ports (cygwin?) have wrong values for
$Config{lddlflags}.  If so, those ports should be fixed over on
perl5-porters.  In the meantime, platform-specific hints can be used to
override the wrong value.  For most users, however, using the correct
value from perl5's Config is probably the correct thing to do.

diff -r -u parrot-orig/config/init/data.pl parrot-andy/config/init/data.pl
--- parrot-orig/config/init/data.pl     Thu Aug 29 16:56:29 2002
+++ parrot-andy/config/init/data.pl     Mon Sep  2 12:41:02 2002
@@ -39,7 +39,7 @@
     
     ld_out        => '-o ',               # ld output file
     ld_debug      => '',                  # include debug info in executable
-    ld_shared     => '-shared',
+    ld_shared     => $Config{lddlflags},
     ld_shared_flags=> '', # What is this, exactly?  For GNU ld, it was
     # '-Wl,-soname,libparrot$(SO)'
 

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



Reply via email to