How can I use ldc2 and link to full runtime on arm with no OS
Dan Walmsley via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jun 21 07:55:19 PDT 2017
On Wednesday, 21 June 2017 at 14:53:04 UTC, Dan Walmsley wrote:
> On Tuesday, 20 June 2017 at 19:44:46 UTC, kinke wrote:
>> [...]
>
> when trying to compile I'm getting lots of errors like this one:
>
> C:\dev\repos\druntime\src\gc\impl\manual\gc.d(28): Error:
> module config is in file 'gc\config.d' which cannot be read
>
> import path[0] =
> C:\Users\danw\AvalonStudio\AppData\Repos\AvalonStudio.Toolchains.LDC.win-x64.4.0.0-build2-alpha\content\bin\..\import\ldc
>
> import path[1] =
> C:\Users\danw\AvalonStudio\AppData\Repos\AvalonStudio.Toolchains.LDC.win-x64.4.0.0-build2-alpha\content\bin\..\import
>
> Build Failed
>
> any ideas what could be the cause?
and also:
LLVM ERROR: unsupported relocation on symbol
[CC 9/164] [druntime] convert.d
Build Failed
LLVM ERROR: unsupported relocation on symbol
after changing flags to:
-c -O0 -lib -betterC -release -boundscheck=off -march=thumb
-mcpu=cortex-m4 -mtriple=thumb-none-linux-eabi
More information about the Digitalmars-d
mailing list