-
Notifications
You must be signed in to change notification settings - Fork 191
Clang cross toolchain #106
Comments
Not sure I understand the question. There are already
What kind of cross-compiling we are talking about? |
I would like something similar to compiler/gcc-cross-compiler.cmake but for clang. Just setting a variable for sysroot, etc. It just seems strange there's no toolchain for clang cross compiling. |
Looks like nobody using/need it, see nothing strange about it :)
Feel free to add one. |
I was previously interested in building shared libraries for Linux distributions from an OS X host (Apple HW being required for iOS). I'm not sure if that is possible. @xsacha Do you have any thoughts? Here are some high level cross compilation pages I found for reference: http://clang.llvm.org/docs/CrossCompilation.html |
I think I post the question on stackoverflow but looks like I delete it because of no response and no interest in further investigation. |
Related: #27 |
@xsacha I'm thinking aloud here, not done it yet, but libfloor has a good assortment of clang-based cross compilers (pitched mostly at GPGPU computing, but it should be possible to add other targets). New to polly so not sure yet how much work it will (or won't) be to use polly to manage a load of third-party toolchains, it's more musing aloud than clear suggestion at this time, but on the face of it, sounds like what you want could leverage existing work rather than configure it all from scratch. |
@Magick777 : 👍 Thanks for the libfloor reference. (I suppose this is slightly off topic for the original post, but I have been looking for something exactly like this.) |
Closing inactive discussion. |
Since you can cross compile just about anything with a host clang, why not add a toolchain for this?
The text was updated successfully, but these errors were encountered: