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 09:10:41 PDT 2017
On Wednesday, 21 June 2017 at 15:45:32 UTC, David Nadlinger wrote:
> On Wednesday, 21 June 2017 at 14:53:04 UTC, Dan Walmsley 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?
>
> You are not adding druntime/src to the import path.
>
> I'd suggest you focus on other things first, though. Having D's
> GC on a platform with less than 1 MiB RAM is a rather sketchy
> proposition.
>
> — David
My idea is to build the whole thing, see what the code size and
performance is, and then one by one reduce things down as needed.
Starting from nothing so far has been a bit of a none starter!
More information about the Digitalmars-d
mailing list