I see that on 0.6.4 within cygwin my linker does not work anymore. Latest svn smokes from before the release built fine.
Checking the Makefiles I see that some objects had been added to the end of the linker lines which is invalid on newer gcc versions and windows. First the objects, then the linker switches, then the libs. If noone changed that in tghe recent past it could be that my switch to link against an windows importlibrary and not directly to the dll anymore caused that bug to emerge. I had to fix tools/dev/pbc_to_exe_gen.pl (config at last is wrong) and config/gen/makefiles/root.in In the exe targets in root.in the switches were even completely reversed. - $(ALL_PARROT_LIBS) $(LINKFLAGS) + $(LINKFLAGS) $(ALL_PARROT_LIBS) @@ -801,15 +801,15 @@ # TODO build the real miniparrot $(MINIPARROT) : $(SRC_DIR)/main$(O) $(GEN_HEADERS) $(LIBPARROT) \ lib/Parrot/OpLib/core.pm $(SRC_DIR)/null_config$(O) - $(LINK) @[EMAIL PROTECTED]@ $(SRC_DIR)/main$(O) \ - @rpath_blib@ $(ALL_PARROT_LIBS) $(LINKFLAGS) $(SRC_DIR)/null_config$(O) + $(LINK) @[EMAIL PROTECTED]@ $(SRC_DIR)/main$(O) $(SRC_DIR)/null_config$(O) \ + @rpath_blib@ $(LINKFLAGS) $(ALL_PARROT_LIBS) Note the null_config at the end. Similar through the whole files. Should I open a ticket and submit my patch or am I wrong? -- Reini Urban http://phpwiki.org/ http://murbreak.at/