in reply to what is difference between dmake and mingw32-make?[OT]

'dmake' and 'mingw32-make' have slightly different syntax rules. With Strawberry Perl, when you run 'perl Makefile.PL', the makefile that gets produced is written according to dmake's rules - it doesn't work with 'mingw32-make'. To get that makefile to work with mingw32-make, you would either have to make amendments to it, or change $Config{make} to mingw32-make (and also patch ExtUtils::MakeMaker so that it is capable of writing a makefile that's compatible with mingw32-make). This could possibly be done, but no-one has yet bothered, afaik.

To find out the flavour of make that 'perl Makefile.PL' honours, you run perl -V:make (which is what Anonymous Monk was getting at).

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: what is difference between dmake and mingw32-make?[OT]
by xiaoyafeng (Deacon) on Sep 07, 2009 at 16:34 UTC
    Many Thanks syphilis!

    Your experience about C in perl enviorenment always help me a lot! (and English skills!:))

    To be honest, compared to call C function by Inline on win32, building XS modules is so hard. I often stumbled to install some modern modules such as Catalyst, gtk2 and moose on win32. I think this embarrassed situation would not improved until perl6 release.



    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction