toolchains_llvm
toolchains_llvm copied to clipboard
WIP: VERY EARLY DRAFT! WIP WIP WIP!!!! - Add clang-cl windows cross compilation
…
Hi, this will be a little insane and a little strange, but I would like to get a read on the following as I refine it towards a potential addition to these rules.
The following code allows for cross compiling windows (with MSVC ABI rather than GNU, and I hope to adapt it to cope with clang on windows too.
If this is something wanted I can polish these rules further rather than fork and adapt.
This is very much an initial read, so there are some hacks, a hard-coded path I could use help with and probably constructions that I am sure we want to change.
As an example of this running (the binary is bytewise equivalent to the windows produced version) is as follows.
https://youtu.be/v54e1pSMUbw
Thanks! We would definitely welcome any Windows support in here, if we can introduce it while keeping things relatively clean. I can give you write permissions if you want. Unfortunately, I don't pay attention to this project anymore, so won't directly review your code.
Thanks! We would definitely welcome any Windows support in here, if we can introduce it while keeping things relatively clean. I can give you write permissions if you want. Unfortunately, I don't pay attention to this project anymore, so won't directly review your code.
Might be good, I will wait for others to chime in on thoughts of how to do these things.
@GregBowyer, are you still interested in pursuing this?
Closing now because of inactivity. We can reopen if needed.