At 08:08 10/11/2005 -0800, you wrote:
# New Ticket Created by Nick Glencross
# Please include the string: [perl #37651]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37651 >
This patch is required for pbc_merge on some platforms (HP-UX is the
one that I see it on), particularly when creating tcllib.
Same problem on Win32, but this patch doesn't solve it with MinGW.
Now a stupid question, why pbc_merge is a big/fat executable and not a Perl
script or better a PIR program ?
François Perrad.
pbc_merge calls dynamically loaded pmc code which needs access to
symbols in the executable, such as const_string.
Cheers,
Nick
Index: config/gen/makefiles/root.in
===================================================================
--- config/gen/makefiles/root.in (revision 9883)
+++ config/gen/makefiles/root.in (working copy)
@@ -817,7 +817,7 @@
$(LINK) ${ld_out}$(PBCMERGE) \
$(SRC_DIR)/pbc_merge$(O) \
$(SRC_DIR)/parrot_config$(O) \
- $(LINKFLAGS) $(ALL_PARROT_LIBS)
+ $(LINKFLAGS) $(LINK_DYNAMIC) $(ALL_PARROT_LIBS)