http://qs321.pair.com?node_id=355709


in reply to Re: Building Perl with the free MSVC tools
in thread Building Perl with the free MSVC tools

Please excuse me if I missed a point, it just seemed to me that there was a difficulty with building Perl under win32 with VC++ above 6.0 in this thread. If someone could clarify, I would be grateful.
The point you missed is that none of this was done with any version of Visual Studio, which would make it much simpler.

MS is offering an undocumented and incomplete toolkit for free. No crt library is included - for that you need to download the .NET SDK. In order to build perl with this freely available compiler there are a couple of other requirements that still need to be met after getting msvcrt.lib. My post details a working method - there may be better solutions.

Interesting point about msvcrt70(1).dll. Only problem is, just msvcrt.lib (not 70 or 71) is included with the .Net download. Perl's Makefile specifies msvcrt.dll, does that mean it is targeted to VC 6?

  • Comment on Re: Re: Building Perl with the free MSVC tools

Replies are listed 'Best First'.
Re: Re: Re: Building Perl with the free MSVC tools
by Anonymous Monk on May 23, 2004 at 20:37 UTC
    Perl's Makefile specifies msvcrt.dll, does that mean it is targeted to VC 6?

    Checking via Dependency Walker, perl.exe that I built with VS.NET 2002 is using MSVCR70.DLL

    If Perl links against MSVCRT.LIB...

    Searching under my Microsoft Visual Studio .NET directory structure...
    ...the only msvcr(t)xx.lib I can find is "MSVCRT.LIB"; which is under "Microsoft Visual Studio .NET\Vc7\lib"

    I would suppose there are no msvcr70/71.lib files, only the msvcrt.lib file and the dlls.

    Also, the .NET 1.1 SDK on my system does not contain any msvcrt.lib files, just the msvcr71.dll.

    My mistake on the post I made. msvcr70/71.lib is msvcrt.lib, each one specific to the version of VC++ used.
    (is this correct or am I confused?)
      Also, the .NET 1.1 SDK on my system does not contain any msvcrt.lib files, just the msvcr71.dll.

      I spoke too soon, again.
      The .NET 1.1 SDK created directory...
      C:\Program Files\Microsoft Visual Studio .NET 2003\
      ...and it contains all the proper Run-Time libs.
      (I had everything else installed under drive E:)
      MSDN Runtime Libs

      This seems to confirm that there is only one msvcrt.lib and no msvcr70/71.lib counterparts.