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

List:       xerces-c-dev
Subject:    Re: Win32 Static linking question
From:       Alberto Massari <amassari () datadirect ! com>
Date:       2005-09-16 17:00:23
Message-ID: 6.2.3.4.2.20050916185135.04d5b060 () webmail ! bedford ! progress ! com
[Download RAW message or body]

Hi Matthew,

At 17.24 16/09/2005 +0100, Matthew Berry wrote:
>Hi,
>
>[ Sorry guys I know this has been discussed to death, but just wanted to be
>100% sure on this particular point ]
>
>I notice that in the VC7.1 solution that has a Static (Release) build, the
>Runtime library setting is "Multithreaded". I would like to use
>"Multithreaded DLL" to match with our other Win32 libraries.
>
>Is there a catch? Will everything work okay if I build the static library
>this way?

When a static library is used is because people want to reduce 
dependencies on DLLs, so the most logical choice is to use the C 
runtime that links statically. If you choose the Multithreaded DLL 
option (and you can choose to do it) you will have to install or 
assume that the correct DLLs are available on the system.
The tricky part is that the linker that assembles the project with 
the static library must work on object files compiled using the same option.

Alberto



---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org

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

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