Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Make program used by Perl in windows

by bojinlund (Priest)
on Apr 25, 2012 at 19:03 UTC ( #967145=perlquestion: print w/ replies, xml ) Need Help??
bojinlund has asked for the wisdom of the Perl Monks concerning the following question:

I want to understand why Dmake and not GNU Make is used for Perl and Perl modules in Windows. Using the same make program on Unix and Windows would make things easier! or?

There is a dmake-4.12 distribution in CPAN. Could it also be a GNU Make distribution? Is there any licensing problems? Is it feasible to use GNU Make in Windows?

In Build.PL versus Makefile.PL from Feb 06, 2007 it is said: "I'm just curious to the current state of play". How has the state of play changed since 2007? Is there any clear trend? What is the current state of play?

From http://deps.cpantesters.org/depended-on-by.pl I get: ExtUtils-MakeMaker-6.62 is depended on by 8024 and Module-Build-0.40 is depended on by 2445. ExtUtils-MakeMaker is still the "leader" after many years.

Can ExtUtils::MakeMaker still be "doomed"? Or is it time to revive it?

What is the strategy used in Perl 6?

Comment on Make program used by Perl in windows
Re: Make program used by Perl in windows
by Anonymous Monk on Apr 26, 2012 at 04:25 UTC
Re: Make program used by Perl in windows
by syphilis (Canon) on Apr 26, 2012 at 12:54 UTC
    There is a dmake-4.12 distribution in CPAN. Could it also be a GNU Make distribution?

    No - dmake and GNU Make each have slightly different syntax requirements, and can therefore not be interchanged.

    Is it feasible to use GNU Make in Windows?

    Possibly, but first ExtUtils::MakeMaker would need to be patched so that it can create a Makefile that the Windows version of GNU Make could understand.
    Afaik, for Windows systems, ExtUtils::MakeMaker can currently write only nmake-compliant or dmake-compliant Makefiles.

    Cheers,
    Rob

      No - dmake and GNU Make each have slightly different syntax requirements, and can therefore not be interchanged.

      Not replacing dmake, but using Gnu Make in parallel!

      Must everything (Perl and Perl modules) use the same make program?

      Is it possible to have a Gnu Make and a dmake distribution in CPAN at the same time?

        Is it possible to have a Gnu Make and a dmake distribution in CPAN at the same time?

        Yes, but you shouldn't be writing makefiles, you should do everything possible to avoid writing makefiles.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://967145]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-11-25 00:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (148 votes), past polls