http://www.perlmonks.org?node_id=1013886


in reply to Re: cpan dies for bad dlltool & dmake.exe
in thread cpan dies for bad dlltool & dmake.exe

My guess is that OP is using ActiveState Perl and MinGW as indicated by the "Set up gcc environment - 3.4.5 (mingw-vista special r3)" line I see in the CPAN build output. I used to get that line with Active / MinGW.

I've moved to Strawberry as the MinGw compiler (and associated tools like 'dlltool') are bundled with the distribution making life much easier.

VinsWorldcom@C:\Users\VinsWorldcom> which dlltool C:\strawberry\c\bin\dlltool.exe