Fail to set LD_LIBRARY_PATH then cross build for ARM
Oleg B via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Tue Aug 1 11:44:03 PDT 2017
On Tuesday, 1 August 2017 at 18:34:24 UTC, Joakim wrote:
> You just listed two different compilers: do you mean you used a
> prebuilt ldc 1.3 on linux/x64 to build an ldc 1.4
> cross-compiler on linux/x64 for armhf from source? If so,
> maybe you're invoking the wrong one, ie you should run
> ./ldc_build_arm/bin/ldc2 not ldc2 when cross-compiling.
ldc2 for ARM I build from sources before 1.3.0 release (I don't
know why version is 1.4.0) and build it direct on raspberry by
ldc2-1.1.0. From ARM I only use builded libraries (phobos and
druntime), not a compiler.
> Are you patching ldc 1.4 at all? That old patch linked from the
> wiki won't work.
I don't patch ldc anywhere, not on host, not on target.
More information about the digitalmars-d-ldc