Hi all,
Based on Tor's, Fridrich's, and others great work, I was able to get the
MinGW cross-compilation to state that it not only builds, but even
runs! :-) The good thing about all this is that with this, you do not
need a Windows machine at all to be able to produce LibreOffice Windows
executable. Even debugging can be done on Linux, using wine.
The full description is here:
http://cgit.freedesktop.org/libreoffice/core/tree/README.cross#n63
Few highlights:
- use the pre-build MinGW packages from OBS
[http://en.opensuse.org/Portal:Build_Service], it will save you lots
of pain
- don't expect a nice installer, the result of build is just a tarball
containing the executable and libraries
- the resulting build works under wine
- you can use winedbg to debug that
You might have noticed that there is a tinderbox that builds the MinGW
builds regularly, and I am fixing the breakages when they are not fixed
by the committer for a long time ;-), so the code should not bitrot that
easily. I have also enabled uploading of the build results to
http://dev-builds.libreoffice.org , the first ones should appear there
shortly. Most probably they won't run out of the box, because they will
be missing the .dlls that come from the OBS MinGW project - but I'll
adapt scp2 to include them.
All in all - enjoy! :-) Would be great to see more people hacking on
this; it is an exciting new world, and lots of things can (and should)
be improved - see the TODO in the README.cross.
Regards,
Kendy
Context
- [Libreoffice] MinGW cross-compilation: Runs! · Jan Holesovsky
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.