Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

In Windows 10 and using rakubrew I found the behavior indeed depends of the build environment used.
(rakubrew can download some prebuild versions, all compiled with MS tools)

With a raku built with MS tools the arguments remains unexpanded as expected:

C:\moar-2020.05.1\bin>raku -e "say @*ARGS.join: ' ';" abc * def abc * def C:\moar-2020.05.1\bin>raku -e "say $*VM.config<cc ldlibs>" (cl shell32.lib ws2_32.lib mswsock.lib rpcrt4.lib advapi32.lib psapi. +lib iphlpapi.lib userenv.lib user32.lib)

When built with mingw tools (from Strawberry perl) the resulting raku expands:

C:\moar-2020.05\install\bin>raku -e "say @*ARGS.join: ' ';" abc * def abc libmoar.dll.a moar.dll moar.exe nqp-m.exe nqp.exe perl6-debug-m.ex +e perl6-debug.exe perl6-m.exe perl6.exe raku-debug.exe raku.exe rakud +o-debug-m.exe rakudo-debug.exe rakudo-m.exe rakudo.exe def C:\moar-2020.05\install\bin>raku -e "say $*VM.config<cc ldlibs>" (gcc -lshell32 -lws2_32 -lmswsock -lrpcrt4 -ladvapi32 -lpsapi -liphlp +api -luserenv -luser32)

As the linked libraries are the same, I can only think in some differences in the startup code injected by the build environment.


In reply to Re: [Raku] Asterisk on DOS command line by sortiz
in thread [Raku] Asterisk on DOS command line by Athanasius

Title:
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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-18 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found