llvm-c ~master
LLVM D(eimos) interface
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
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
- Registered by Jens Mueller
- ~master released 10 years ago
- jkm/deimos-llvm
- github.com/jkm/deimos-llvm
- Dependencies:
- none
- Versions:
-
~master 2014-Feb-15 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
1 downloads this month
-
437 downloads total
-
- Score:
- 1.2
- Short URL:
- llvm-c.dub.pm