Why can't I compile in perl510s.lib and no longer need perl510.dllI think you'll find that perl-static.exe does *not* need perl510.dll. It's very easy to test - just rename perl510.dll to something else (eg perl510.dll_hide), and then run
perl-static -VI think you'll find that runs fine, whereas
perl -V will crash because perl510.dll can't be found.
Not that I really understand how things are supposed to work, but it does look to me that things are broken. For example, I would have thought that the Win32 extension would have been built into perl-static.exe, but that's not the case, and any call to load Win32 will try to load the dynamic version (for which perl510.dll *does* need to be found). The mileage you can get out of perl-static.exe without using perl510.dll is therefore very limited, afaict.
For the record, the static build I tried was with perl-5.11.2, I used MSVC++ 7.0, and the only amendments I made to the win32/Makefile (outside of the usual amendments) was to set "BUILD_STATIC" and "ALL_STATIC" to "define".
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.