ARM bare metal example from wiki isn't builds

denizzzka via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun May 31 02:44:59 PDT 2015


On Saturday, 30 May 2015 at 23:24:28 UTC, Kai Nacke wrote:
> On Saturday, 30 May 2015 at 22:05:04 UTC, denizzzka wrote:
>> http://wiki.dlang.org/Minimal_semihosted_ARM_Cortex-M_%22Hello_World%22
>>
>> $ ldc2 -march=thumb -mcpu=cortex-m3 -c start.d
>> /usr/include/d/ldc/ldc/llvmasm.di(8): Error: pragma 
>> llvm_inline_asm unrecognized pragma(llvm_inline_asm)
>>
>> (Using -ignore isn't helps)
>>
>> ldc 0.15.0 is from Debian repository.
>
> Did you upgrade from a previous version?

Apt from Debian system say what libtango-ldc-dev 0.99.9.dfsg-1 is 
the latest version

> Line 8 should be:
>
> pragma(LDC_inline_asm)
>
> Regards,
> Kai

$ dpkg -S /usr/include/d/ldc/ldc/llvmasm.di
libtango-ldc-dev: /usr/include/d/ldc/ldc/llvmasm.di

$ LANG=C sudo apt-get install -t unstable libtango-ldc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libtango-ldc-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1220 not upgraded.

It is need to tell to maintainer about this?


More information about the digitalmars-d-ldc mailing list