mingw-w64-cross-compiler-rt and -clang i686#2278
Conversation
|
The problem with i686 is we cannot use 32bit LLD to link big packages (like LLVM) : https://bugs.llvm.org/show_bug.cgi?id=42388#c6 |
Does this PR look OK though? |
|
Yeah, PR itself looks fine. |
|
I built this locally on my i686 machine last night, and built a quick test c++ program with it just now that succeeded and ran properly. |
|
It doesn't complicate things too much so seems fine I guess, even if it doesn't work in the long run. @mati865 ok to merge? |
|
I was thinking/hoping that this should make adding arm/aarch64 pretty straightforward too. Though I don't have any such hardware to try it myself. |
|
Does Cygwin work on ARM/Aarch64? |
|
My understanding is that it at least runs under emulation. So it seems to me it could be used to bootstrap a native toolchain. Theoretically. Something interesting for those with the interest and hardware to try, anyway. I think I remember @Biswa96 talking about this at one point. |
|
I think Cygwin taps too deeply into the system for emulation to work reliably. |
Simple loop to build both x86_64 and i686 target libraries, as is done in -crt. I have not actually looked at the resulting binaries.