[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] [boost] Boost build problem
From:       Michael Weber <michael.weber () kutano ! com>
Date:       2009-09-28 15:59:18
Message-ID: 3dfe337a0909280859n3a32b272yfb9c501c9cfd5232 () mail ! gmail ! com
[Download RAW message or body]

On Mon, Sep 28, 2009 at 12:41 AM, Johan Nilsson
<r.johan.nilsson@gmail.com> wrote:
> 
> Ian Emmons wrote:
> > 
> > Starting with Visual Studio 2005 (msvc-8), linkage to the run-time
> > libraries depends on Microsoft's infrastructure for side-by-side
> > execution of different versions of the same DLL.  This is Microsoft's
> > attempt to solve the "DLL Hell" problem, in which an executable
> > transparently links to the first instance of a DLL found on the path,
> > independent of any version dependency.  Clearly, this is a big
> > advance, but it comes at the cost of complexity.  As far as I know,
> > the only way to deploy the C/C++ run-time is to install the .Net
> > framework (which contains the side-by-side execution infrastructure).
> > So EXE's and DLL's built with Visual Studio 2005 (msvc-8) require
> > the .Net 2.0 run-time, and those built with Visual Studio 2008
> > (msvc-9) require .Net 3.5.
> 
> AFAIK, .NET runtime is not needed for _native_ C++ applications. Just installing \
> the runtime using the supplied merge modules (CRT + policy) should work just fine. 
> IIRC it is also _possible_ (even though perhaps not officially supported) to \
> install the needed runtime DLLs in the same directory as the executable with a \
> specially crafted external manifest. 
> / Johan

Installation of .net is not necessary -- Microsoft distributes
installers for the runtime alone. Make sure you find the one specific
to your build tool -- i.e., MSVS2005 / 2008, and with or without the
corresponding SP1.

e.g., here is the installer for MSVS2008 SP1:

http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en


The bottom of that page has links to 2005 runtimes, and runtimes with
/ without MSVS 200x SP1.

Michael
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic