On Jul 21 13:04, Ruben Van Boxem wrote:
> Hi,
> 
> I've seen a lot of chatter/patches going into MinGW-w64 for Cygwin support,
> which is great, as I've noticed a lot of small inconsistencies and code
> clarity issues are being fixed.
> 
> What I would like to know is if I could build a working Cygwin
> cross-compiler using MinGW-w64 and if so, what steps would be required to
> build it. If this is possible, this would end in a Cygwin cross-compiler
> for Arch in the AUR (Arch User Repository), and me building Cygwin hosted
> MinGW-w64 cross-compilers as well for my builds.
> 
> I have previously attempted to build a Cygwin cross-compiler, but I found
> it troubling that I needed to copy the binary Cygwin runtime. I'd like to

The problem is that a full cross-toolchain also contains target libs,
for instance libstdc++.  Building these libs requires access to the
headers and link libs of the target.

> build everything from source and a native Linux GCC, not paste together a
> bunch of prebuilt packages.

As you might know, the gcc build tree and the combined sourceware.org
build tree can be merged to do a full build.  If you merge the newlib
and winsup dirs into the build tree, you should be able to build a
complete cross toolchain without external references to Cygwin crt files
or libs, since they are then part of your source tree.


Corinna

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to