Windows --> arm-linux cross compiler and lld

kinke noone at nowhere.com
Wed Apr 18 21:27:10 UTC 2018


On Wednesday, 18 April 2018 at 21:07:01 UTC, kinke wrote:
> A cross-compiler with integrated cross-linking ability (and a 
> tool to cross-compile druntime and Phobos), shipping with 
> ready-made C libs and a preconfigured config file in a Docker 
> image, working just out of the box should be a great experience 
> for the user (and the Docker image generation easily 
> automatable for us devs).

It'd probably be quite cool to merge all prebuilt packages into a 
single universal Docker image (augmented by each platform's C 
libs & object files and the ldc2.conf config file extended by a 
section for each target triple). That would currently allow to 
freely cross-compile to 32/64-bit Windows/Linux/macOS and 32-bit 
ARM, simply depending on the used `-mtriple=...`. Legal aspects 
would need to be clarified first though; just saying that 
something like this wouldn't actually be that hard to do & 
automate.


More information about the digitalmars-d-ldc mailing list