Building for ARM with LDC

master via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Jul 18 06:32:43 PDT 2014


> LDC also needs to be built with an ARM Thumb LLVM backend. I 
> did this, but I lost my script files :(  I'll have to recreate 
> them.  I remember it being much simpler than GDC.  I've asked 
> the LDC folks to include an ARM Thumb backend in their release, 
> but I don't think they've done it yet.  On Arch Linux, the LDC 
> package seems to already include ARM Thumb:
>
> ldc2 --version
> LDC - the LLVM D compiler (0.13.0):
>   based on DMD v2.064 and LLVM 3.4.2
>   Default target: x86_64-unknown-linux-gnu
>   Host CPU: corei7
>   http://dlang.org - http://wiki.dlang.org/LDC
>
>   Registered Targets:
>     aarch64  - AArch64 (ARM 64-bit target)
>     arm      - ARM
>     cpp      - C++ backend
>     hexagon  - Hexagon
>     mips     - Mips
>     mips64   - Mips64 [experimental]
>     mips64el - Mips64el [experimental]
>     mipsel   - Mipsel
>     msp430   - MSP430 [experimental]
>     nvptx    - NVIDIA PTX 32-bit
>     nvptx64  - NVIDIA PTX 64-bit
>     ppc32    - PowerPC 32
>     ppc64    - PowerPC 64
>     ppc64le  - PowerPC 64 LE
>     r600     - AMD GPUs HD2XXX-HD6XXX
>     sparc    - Sparc
>     sparcv9  - Sparc V9
>     systemz  - SystemZ
>     thumb    - Thumb
>     x86      - 32-bit X86: Pentium-Pro and above
>     x86-64   - 64-bit X86: EM64T and AMD64
>     xcore    - XCore
>
>
> Mike


C:\Users\xxx>ldc2 --version
LDC - the LLVM D compiler (0.13.0):
   based on DMD v2.064 and LLVM 3.4.2
   Default target: i686-pc-mingw32
   Host CPU: penryn
   http://dlang.org - http://wiki.dlang.org/LDC

   Registered Targets:
     x86    - 32-bit X86: Pentium-Pro and above
     x86-64 - 64-bit X86: EM64T and AMD64

C:\Users\xxx>

windows platform only two target?

Registered Targets:
     x86    - 32-bit X86: Pentium-Pro and above
     x86-64 - 64-bit X86: EM64T and AMD64
???


More information about the digitalmars-d-ldc mailing list