On Friday, 9 March 2018 at 14:30:44 UTC, Radu wrote:
On Friday, 9 March 2018 at 11:35:58 UTC, aberba wrote:
[...]

For LDC on ubuntu is is pretty straight forward

1. Get cross tools for ARM, let's say ARM HF (hardware floating point)

[...]

2. Install LDC

3. Build cross libraries for LDC

From https://wiki.dlang.org/Building_LDC_runtime_libraries:

[...]

Your cross compiled druntime and phobos libs will be the result of this step, they are located in the `/path/to/ldc-arm-linux-hf/lib` folder.

4. Compile your code

[...]

You now have an linux arm hf binary that can run on your target device.

wow ! this is the real tutorial! thanks!

Reply via email to