Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Make program used by Perl in windows

by syphilis (Archbishop)
on Apr 26, 2012 at 12:54 UTC ( [id://967336]=note: print w/replies, xml ) Need Help??


in reply to Make program used by Perl in windows

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
  • Comment on Re: Make program used by Perl in windows

Replies are listed 'Best First'.
Re^2: Make program used by Perl in windows
by bojinlund (Monsignor) on Apr 29, 2012 at 08:08 UTC

    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.

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

        I agree!

        However, I believe that a possibility to use the same make program in L/Unix and Windows, at least for Perl modules, would facilitate portability. I am trying to understand if there is a (long term) possibility to use GNU make also in Windows.

        A possible path seem to be:

        • A GNU Make distribution for Windows in CPAN
        • A patched ExtUtils::MakeMaker that can create Makefiles that the Windows version of GNU Make understands

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://967336]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found