As reported on slashdot, Microsoft has made the MSVC command line compiler tools for .net and Win32 available for download at no cost here.

While the EULA does not permit redistribution of GNU-infected software ("software that requires you to redistribute the sourcecode"), it is free to use in commercial settings and, considering that customers can also download it, good enough to install and use Perl extensions such as Inline::C and DBD::SQLite, and even for compiling your own version of Perl.

The download weighs in at 32MB and I believe it includes the .net runtime as well, so Win9x users will have to download and unpack it somewhere else before getting the Win32 tools under Win9x.

Update: At the moment, I'm not clear whether the compiler actually outputs Win32 stuff or only .net stuff, but I'll update that post after my investigations :)

I've got good news and bad news. The good news is, that the compiler builds miniperl directly respectively with a small fix to the CFLAGS in win32\Makefile:

CFLAGS = -nologo -GF /QIfist -W3 $(INCLUDES) $(DEFINES) $(LOCDE +FS) \
The -GF replaces -Gf, and /QIfist is so that it doesn't generate calls to __ftol2, which it later on can't resolve.

The bad news is, that you have to be very clean about your library paths and include paths, especially the VC6 path. And that means, no VC6 includes for VC7 (no surprise here), but the includes you need aren't in the package. You'll have to download them from Microsoft as well, either via some dreaded ActiveX installation procedure here, or manually from http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us.... I couldn't find out the exact URL yet, as the messagebox does not allow copy/paste, but once download.microsoft.com picks up speed again, I'll post the full URLs to the (two) SDKs needed here.


In reply to Microsoft releases the MSVC commandline tools by Corion

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



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.