----- Original Message -----
> From: "Andrew Stitcher" <[email protected]>
> To: [email protected]
> Sent: Wednesday, October 14, 2015 7:16:29 PM
> Subject: Re: Go on windows: Visual Studio, gcc, cgo Oh My!
> 
> On Wed, 2015-10-14 at 18:09 -0400, aconway wrote:
> > I have spent a fruitless day trying to get the go binding to work on
> > windows. Here's the scoop.
> > 
> > cgo (the Go/C integration) requires gcc to work on windows.
> > gcc will not link with libraries produced by Visual Studio C++
> > compiler.
> 
> I'm assuming you are using mingw (rather than cygwin).
> 
> Are you sure you are using the same 32/64 bitness in the VS and gcc
> binaries?
> 
> The basic point of mingw is to produce binaries that C ABI compatible
> with the VS objects.
> 
> So it should work.
> 
> Andrew
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

To find the bitness of a dll or exe:

1. Open a visual studio developer prompt (to wake up the dumpbin command).
2. dumpbin /headers <my.dll> | findstr machine

This types "8664 machine (x64)" or "14C machine (x86)".

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to