Hi,
With the advent of Cygwin64 and probably a small overhaul of the build
system to accomodate MinGW-w64, I'm hoping it will be easier to build a
cygwin cross-compiler.
I would like to ultimately end up with AUR packages for Cygwin, just like I
provide for MinGW-w64, which would allow people developing on Arch to
cross-compile from Linux. This is possible, as Fedora has the CygwinX
thingie going on, and I used that to build toolchains.
The million dollar question is of course, how to do this (highly preferable
from source)? I understand the Cygwin runtime is C++, so bootstrapping
isn't as simple as it sounds?
What I would imagine is this:
1. build *-w64-mingw32 toolchains capable of C++ in /usr/*-w64-mingw32
2. build and install gcc C compiler for Cygwin using mingw-w64 headers?
3. build and install cygwin runtime with --host=*-w64-mingw32 in
/usr/*-pc-cygwin
4. build rest of GCC linking to the cygwin runtime?
I know this looks flaky, and yes it probably is wrong. What is the proper
build order for a full bootstrap on Linux? Additionally, if possible, I'd
like to keep only one set of MinGW-w64 headers/libs, to prevent size bloat
for no apparent reason.
Thanks a million!
Ruben
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public