cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: compilation in windows

From: Pierre Joye <pierre.php_at_gmail.com>
Date: Thu, 28 Jul 2011 09:10:25 +0200

On Thu, Jul 28, 2011 at 2:10 AM, Peter <one2001boy_at_yahoo.com> wrote:
>
>
> Hi Dan/Gun etc,
> Thanks for all of your help.
> Now I can get the compilation done in windows 32 bit.
>
> However, If I compile it in windows 64 bit using 64 bit compiler/link,
> it will get the following error at link:
>   fatal error LNK111 2: module machine type 'x64' conflicts with target machine type 'X86'
>
> The snapshot doens't support 64 bit compiler/link, right?
>
> I also noticed  that the static lib compilation using /MD not /MT option.
> dynamically linking is to use /MD. it is not an issue for me since it works though.

That's for the CRT linkage, it is usually better to use /MD over /MT,
unless one likes to provide updates when a new CRT version is
available.

Cheers,

-- 
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-28