Cross-Compiling on linux to mingw32/64

Tuukka Pasanen <[email protected]> Mon, 3 Feb 2014 10:11:39 +0200
Newsgroups gmane.comp.video.xine.devel
Message-ID <CAHzZNov37EryP+pm33d3CWMoJRyzeFSOuQpm7-jmuiyOBDRnow@mail.gmail.com>
Hello,
I've been trying to 'port' Xine 1.2.4 in MXE-project (http://mxe.cc)
to compile on mingw32 and mingw64.
It needs heavy patching (and usage of mman-win32
http://code.google.com/p/mman-win32/ ) and current commit that have
needed patches to make Xine-lib build can be found
https://github.com/illuusio/mxe/commit/0f04f0654d73437b2ed206e179bb9f23c322099d

It compiles but as you see there is mostly commeted out all the code
that doesn't build. Another issue is that there is no fast memcpy
possibility in mingw it just doesn't work and that's why there is this
ugly hack to use system memcpy (whether it is fast or not). I'm just
wondering could this be done more elegant? Thank you for your time on
this.

Thanks,
Tuukka

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk