#381: dynpmc libs missing and minor win32 fixes
---------------------+------------------------------------------------------
Reporter: rurban | Owner:
Type: bug | Status: new
Priority: blocker | Milestone: 1.0
Component: core | Version:
Severity: medium | Keywords:
Lang: | Patch: new
Platform: all |
---------------------+------------------------------------------------------
Comment(by ronaldws):
Building on my cygwin/Vista system at this time, with your patches
applied, gives me
the error below:
gcc -o dynlexpad.dll dynlexpad.o -Wl,-L /home/ron/parrot/blib/lib -s
-L/usr/local/lib -shared -L/home/ron/parrot -lparrot -lcrypt
gcc: /home/ron/parrot/blib/lib: No such file or directory
make[1]: *** [dynlexpad.dll] Error 1
make[1]: Leaving directory `/home/ron/parrot/src/dynpmc'
make: *** [dynpmc.dummy] Error 2
There doesn't seem to be a blib/lib created under cygwin. The following
(probably hacky) workaround patch, applied after your patches, gets me
around
the problem for now:
--- config/gen/makefiles/dynpmc.in.sav 2009-02-27 15:32:59.498910000
-0500
+++ config/gen/makefiles/dynpmc.in 2009-02-27 15:33:02.712510000
-0500
@@ -24,7 +24,8 @@
BUILD_LIB_DIR := $(BUILD_DIR)@sl...@blib@sl...@lib
PMC2C := $(PERL) $(BUILD_TOOLS_DIR)@[email protected]
INCLUDES := -I$(BUILD_DIR)@sl...@include
-...@build_dir@@sl...@src@sl...@pmc
-#IF(cc==gcc):LINKARGS := -Wl,-L $(BUILD_LIB_DIR) $(LDFLAGS)
$(LD_LOAD_FLAGS) $(LIBPARROT) @icu_shared@ @libs@
+#IF(cygwin):LINKARGS := $(LDFLAGS) $(LD_LOAD_FLAGS) $(LIBPARROT)
@icu_shared@ @libs@
+#ELSIF(cc==gcc):LINKARGS := -Wl,-L $(BUILD_LIB_DIR) $(LDFLAGS)
$(LD_LOAD_FLAGS) $(LIBPARROT) @icu_shared@ @libs@
#ELSE:LINKARGS := $(LDFLAGS) $(LD_LOAD_FLAGS) $(LIBPARROT)
@icu_shared@ @libs@
PMC2CD := $(PERL) $(BUILD_TOOLS_DIR)/pmc2c.pl --dump
The resulting parrot seems to pass "make test".
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/381#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets