Skip to content

jkm/deimos-llvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLVM D(eimos) interface

This project provides a Deimos interface for LLVM.

By default it uses the config files provided by LLVM. Specify -J/path/to/include/llvm/Config when building or use -version=llvmNoConfig to disable it. But then you have to manually initialize the targets, etc. (see module deimos.llvm.c.target).

E.g. on a Linux system run

$ dmd $(llvm-config-3.3 --ldflags --libs | sed -e 's/-L/-L-L/g' | sed -e 's/-l/-L-l/g') -L-lstdc++ -version=llvmNoConfig -run examples/helloworld.d

About

Deimos bindings for LLVM

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •