ARM bare metal example from wiki isn't builds

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat May 30 16:24:25 PDT 2015


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?
Line 8 should be:

pragma(LDC_inline_asm)

Regards,
Kai


More information about the digitalmars-d-ldc mailing list