I'm looking for an i686 linux toolchain to run on Debian 10. I saw we support armv7 and even PPC. Do we have any of these out in the wild? Or do I need to build one from scratch? Is this even supported or has it lagged behind the latest versions of swift?
Hi, if you want to build the toolchain, look at this document swift/docs/HowToGuides/GettingStarted.md at main · apple/swift · GitHub . The document talks about utils/build-script but there is also utils/build-toolchain which produces an archive similar to what you would download from the website.
My main issue with building the toolchain myself was hitting memory limits. For some builds, I've needed to allocate total of ~120 GB of RAM/swap.
Thank you. Like you mentioned with the memory limits, I was hoping to try to cross compile a toolchain from a different machine like how I do with android toolchain. The device I would try running this is definitely a bit constrained.
I was hoping to feel the water to see if anyone else has tried this recently or if theres something available to indicate how viable it is.
I haven't tried it, so I can't help. I have read something on this forum (however I can't find the exact post), that there is an issue on linux (in general) with ABI stability of "core" libraries like Glibc etc. so I expect cross-compilation to be somewhat difficult.