develooper Front page | perl.perl5.porters | Postings from September 2003

5.8.1-RC4: poss build-bug in win32/

September 26, 2003 17:08
5.8.1-RC4: poss build-bug in win32/
Message ID:
[originally sent to user "perlspinr"]
[re-sent via stupid ISP's Webmail interface to p5p]

Greeting P5P / Perl5 Maintainers,

I read the P5P Mailing List via Gmane, but I am at a different account (and a 
Windoze system, bleah) at this time, so I am filing this report "manually" 
using Webmail from an ISP. We'll see how it turns out; I will do my best.

I've been going over the file that is crucial for people trying to build perl 
on a Windows OS, namely "{source-kit-root}/win32/". That file is 
supposed to be for the dmake tool to be able to compile Perl using mingw-gcc, 
borland-bcc or msvc-cl.exe. In that file are many dmake conditional makefile 
statements of the syntax:

  .IF "$(CCTYPE)" == "BORLAND"

  CC		= bcc32
  .IF "$(BCCOLD)" != "define"
  LINK32		= ilink32
  LINK32		= tlink32

There are some statements that may not be properly terminated; they have 
paired with the .IF conditional, an ".END" (rather than ".ENDIF"). I do not 
know if this is acceptable dmake syntax -- I do not even know where one can 
find out what dmake syntax is. I hate dmake (see reasons below).

But IMO unless this is some deliberate variation in syntax intended to 
accomplish a specific operation in the, I feel that these .END 
lines are errata that ought to be corrected. Even if they parse as acceptable 
conditional-block-terminators the inconsistency with the rest of the 
makefile's syntax is not desirable from a maintainability standpoint.

As the attached patch shows, the entries I question are at lines 390, 394, 

BTW, the reason I am perusing that so carefully is that I am 
going to create a GNU-make (the standard, freely available, maintained, 
documented, cross-platform, full-featured 'make' utility) -compliant Makefile 
to replace the 'dmake' in the Perl distribution.

Thanks for your attention.

   Soren Andersen Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About