Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Make program used by Perl in windows

by bojinlund (Curate)
on Apr 29, 2012 at 08:08 UTC ( #967914=note: print w/ replies, xml ) Need Help??


in reply to Re: Make program used by Perl in windows
in thread Make program used by Perl in windows

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?


Comment on Re^2: Make program used by Perl in windows
Re^3: Make program used by Perl in windows
by Anonymous Monk on Apr 29, 2012 at 08:28 UTC

    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

        Perl on Windows is currently built using either dmake.exe or nmake.exe. There is no way to currently build Perl on Windows using a GNU make. Also, ExtUtils::MakeMaker likely does not really support outputting GNU makefiles on Windows.

        Traditionally, Perl uses the same toolchain that it was built with for building its modules. I'm not sure why you would want to change that, because that toolchain is proven to work well. Most likely, changing the make utility involves patching ExtUtils::MakeMaker to properly recognize the new type of make tool and produce the appropriate output.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-08-30 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls