Thanks for replying. I have installed a freh activePerl build (825): I have - uninstalled ActivePerl form the Windows Control Panel, - deleted all the dir under C:/Perl except the site\lib directory, - run ppm upgrade.
Unfortunatly the flag are not what you described below since I got the following U:\>perl -V:ld ld='link'; U:\>perl -V:obj_ext obj_ext='.obj'; U:\>perl -V:lib_ext lib_ext='.lib'; How can I change this ? François ----- Original Message ----- From: "RAPPAZ Francois" <francois.rap...@unifr.ch> To: <par@perl.org> Cc: "Sisyphus" <sisyph...@optusnet.com.au> Sent: Thursday, April 09, 2009 4:01 PM Subject: FW: Buiding par-packer with dmake > Here you go. Perl -V says > > Set up gcc environment - 3.4.5 (mingw-vista special r3) > Linker and Libraries: > ld='gcc', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf ld, and ldflags are wrong. > ActivePerl Build 819 [267479] With this build of ActivePerl (build 819) they hadn't quite got things right wrt integration of MinGW and dmake. Simplest solution would be to install the latest build of ActivePerl-5.8.9 (build 825) straight over the top of build 819. If, however, you prefer to patch up build 819, go to the "Bugs and Their Fixes" section at http://www.perlmonks.org/index.pl?node_id=614808 and follow the instructions there. You need to make sure that: perl -V:ld specifies 'g++' perl -V:obj_ext specifies '.o' perl -V:lib_ext specifies '.a' The instructions at that perlmonks post should enable you to take care of those 3 items. Your 'perl -V:ldflags' is also wrong - I'm not sure if that matters (I don't think that perlmonks post addresses that issue). If the incorrect ldflags causes errors, it needs to be changed to: '-L"C:\Perl\lib\CORE"' I think you can effect that change by editing the ldflags entry in perl/lib/Config_heavy.pl. Much better just to update your perl to build 825 (or anything between 822 and 825). Cheers, Rob