[v4,5/7] build: add cross-file for MinGW-w64
diff mbox series

Message ID 20200227042537.187459-6-dmitry.kozliuk@gmail.com
State Accepted
Delegated to: Thomas Monjalon
Headers show
  • MinGW-w64 support
Related show


Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Dmitry Kozlyuk Feb. 27, 2020, 4:25 a.m. UTC
Add Meson configuration to cross-compile for Windows using MinGW-w64.
It may require adjustments in some cases, but at least it provides
the foundation.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
 config/x86/meson_mingw.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 config/x86/meson_mingw.txt

diff mbox series

diff --git a/config/x86/meson_mingw.txt b/config/x86/meson_mingw.txt
new file mode 100644
index 000000000..fac33cfcd
--- /dev/null
+++ b/config/x86/meson_mingw.txt
@@ -0,0 +1,13 @@ 
+c = '/usr/bin/x86_64-w64-mingw32-gcc'
+cpp = '/usr/bin/x86_64-w64-mingw32-g++'
+ld = '/usr/bin/x86_64-w64-mingw32-ld'
+ar = '/usr/bin/x86_64-w64-mingw32-ar'
+strip = '/usr/bin/x86_64-w64-mingw32-strip'
+pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
+system = 'windows'
+cpu_family = 'x86_64'
+cpu = 'native'
+endian = 'little'