Any idea what could cause this error.
Sorry - I was assuming that your build (batch) script was passing command line arguments to make.
In that case, the same command line args that worked for dmake (and makefile.mk) would also work for gmake (and GNUmakefile).
But if you're using the batch file to edit the GNUmakefile then you'll need to rewrite your patches.
I recommend that you stop altering the GNUmakefile, and instead start providing your build options via the arguments you provide to gmake.
For example, if you want perl to be installed in
C:\my_new_perl and mingw is installed in
C:\my_mingw, then instead of altering the
INST_TOP and
CCHOME settings in GNUmakefile, just run:
gmake INST_TOP=C:\my_new_perl CCHOME=C:\my_mingw
gmake test INST_TOP=C:\my_new_perl CCHOME=C:\my_mingw
gmake install INST_TOP=C:\my_new_perl CCHOME=C:\my_mingw
Of course, there maybe other build options that you'll want to add to that argument list.
Do I need nmake here.
No - the
GNUmakefile is written specifically for GNU make.
The
Makefile is written specifically for nmake, but it supports only Microsoft compilers.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.