Building FlightGear - Cross Compiling

From FlightGear wiki
Revision as of 15:38, 18 May 2015 by Hooray (talk | contribs) (Created page with " {{Stub}} {{Infobox subsystem |name = Cross Compiling FlightGear on Linux for Windows using mxe (mingw64) <!-- |image = --> |alt = fooo |started = 0...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.
Cross Compiling FlightGear on Linux for Windows using mxe (mingw64)
Started in 05/2015
Description Windows binaries created using a cross compiler on Linux
Maintainer(s) hamzaalloush
Contributor(s) hamzaalloush (since 05/2015)
Status Under active development as of 05/2015


WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.
Cquote1.png MXE is such a joy to work with, the folks on the mailing list are helpful in providing patches to get a fellow's toolchain working, but currently they also have some limitations, because they cannot directly maintain errors produced by the upstream mingw back-end compiler. i have carried a successful build of their static toolchain with some local patches that i applied.


now comes the fun part, installing the much sought after shared building toolchain, and i'm having g++ linking errors produced by mingw-g++ upstream, one that i managed to fix and i'm currently dealing with further errors... after that, i don't think build a OSG shared library is so out of reach


Cquote2.png
Cquote1.png mingw has came a long way, and i think the MXE openscenegraph package (currently at 3.2.1 on master!!), is beautifully maintained, now it builds almost all core libraries dynamically with some argument passing, even as a static target(MXE_TARGETS='i686-w64-mingw32.static'), but it's those plugins again, with their linking errors! i think these are because i'm using the i686-w64-mingw32.static-g++ compiler as opposed to the shared one...
Cquote2.png
Cquote1.png so as soon as i can get the shared build environment running and solve all of it's dependancies for OSG, i think we can have a cross compiller in our hands! :)


i have a local branch that i keep all the various commits and bandaids that i apply in order to make an FG friendly build environment, and who knows, i might fork the MXE project and provide a minimum build environment tailored for FG if they didn't accept my patches for it.


Cquote2.png