Hi, I'm trying to adapt my build of my app and several modules to work on 5.10.0.1003, using MinGW for the Windows build.
It goes mostly fine, though I run into some hitches here and there. Now, I have a small issue with Win32-ToolHelp-0.2 that I can fix and presumably submit a small patch for, but I'm not sure how to figure something out dynamically. At the bottom is a Makefile.PL from that module - it writes a command to use '$(AR)'. However, the syntax is geared towards MS 'lib' utility. But with MinGW, $(AR) resolves to 'ar', and that doesn't like '/out:'. Not being an expert on ar, I think a good equiv should be '-ru '. However: what should I look for in order to make a decision on what to emit? Something in Config? Any pointers appreciated... ken1 ############### # <Win32-ToolHelp-0.2>/Impl/Makefile.PL use ExtUtils::MakeMaker; $Verbose = 1; WriteMakefile( NAME => 'Win32::ToolHelp::Impl', SKIP => [qw(all static static_lib dynamic dynamic_lib)], clean => {'FILES' => 'Impl$(LIBEEXT)'}, ); sub MY::top_targets { ' all :: static pure_all :: static static :: Impl$(LIB_EXT) Impl$(LIB_EXT): $(O_FILES) $(AR) /out:Impl$(LIB_EXT) $(O_FILES) '; } _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs