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

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
/* Mingw32 defaults to globing command line * So we turn it off like this: */
The comments in runperl.c provide some additional explanation:
/* Mingw32 defaults to globing command line * This is inconsistent with other Win32 ports and * seems to cause trouble with passing -DXSVERSION=\"1.6\" * So we turn it off ....
From that, we gather that one reason for setting _CRT_glob to 0 was to bring perl into line with perls built using a Microsoft compiler.
IMO, this is no longer a valid reason. (I'm not even sure that it was ever a valid reason.)

But then there's also a vague reference to a problem with passing --DXSVERSION=\"1.6\" when _CRT_glob is set to 1.
Do we know what that's about ?
Do we know that it's no longer an issue ?
How does make test fare ?

There are other discrepancies: while in mingw-w64 _CRT_glob is a boolean in it's a bitfield.. so good luck.

A couple of weeks ago I tried building perl with's gcc-9.2.0, but got stumped by their recent decision to change sizeof(FD_SET) to "1". Both Microsoft (at least up to VS 2019) and mingw-w64 compilers have sizeof(FD_SET) == 260 (or 520 for mingw-w64 64-bit compilers). I don't know why changed that spec, but these days they do seem to have quite a knack for making things difficult.
To put it bluntly, I regard as currently irrelevant - though that's perhaps unfair.


In reply to Re: Using MinGW to build perl on windows forcing it to expand * into glob in cmd.exe by syphilis
in thread Using MinGW to build perl on windows forcing it to expand * into glob in cmd.exe by Discipulus

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2023-10-01 04:40 GMT
Find Nodes?
    Voting Booth?

    No recent polls found