> -----Original Message-----
> From: ext JonY [mailto:jo...@users.sourceforge.net]
> Sent: Saturday, November 17, 2012 12:23 PM
> To: mingw-w64-public@lists.sourceforge.net
> Subject: Re: [Mingw-w64-public] x86_64-w64-mingw32-g++.exe links with
> 32 bit libs
> 
> On 11/17/2012 19:17, deneme.true wrote:
> > Hello,
> >
> > I am trying to cross-compile wxWidgets library on 32 bit machine for
> > Win64. I haven't a 64 bit machine and 64 bit OS. I've seen that linker
> > links the object files with 32 bit
> > libraries(kernel32.lib,advapi32,wsock32,gdi32 etc.) Isn't it suppose
> > to link with 64 bit libraries(kernel64.lib,advapi64,wsock64,gdi64
> > etc.) instead of 32 bit libraries? Does linker make valid 64 bit
> > library with linking with 32 bit libraries?
> 
> 32 in the name does not mean 32bit, they are still named similarly for 64bit.
> You'll have to ask MS why they named it that way.

Compatiblity reasons :) See also 
http://stackoverflow.com/questions/949959/why-do-64-bit-dlls-go-to-system32-and-32-bit-dlls-to-syswow64-on-64-bit-windows

Regards

Kai


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to