# Windows C++ binary compatibility: MinGW vs MSVC

**URL:** https://discourse.julialang.org/t/windows-c-binary-compatibility-mingw-vs-msvc/1250
**Category:** General Usage
**Tags:** package, cxx
**Created:** [January 2, 2017, 8:45pm UTC](https://discourse.julialang.org/t/windows-c-binary-compatibility-mingw-vs-msvc/1250 "2017-01-02T20:45:12Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![barche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barche/32/79_2.png) [@barche](https://discourse.julialang.org/u/barche)
#### Post date: [January 3, 2017, 2:37pm UTC](https://discourse.julialang.org/t/windows-c-binary-compatibility-mingw-vs-msvc/1250/10 "2017-01-03T14:37:32Z")

</div>

OK, is there an example script on how to do the cross-compilation then? Could it also be done from cygwin? That way I could use Appveyor (which has cygwin too) to build the binaries automatically upon committing and upload binaries to github upon tagging (this is related to the thread about [uploading binaries](https://discourse.julialang.org/t/uploading-binaries/1117), Appveyor works very well for that, I’ll update that topic once the correct binaries are built and I can test a complete release).

---

_[View the full topic](https://discourse.julialang.org/t/windows-c-binary-compatibility-mingw-vs-msvc/1250)._
