Mercurial > projects > ldc
comparison tools/binding/prebuild.sh @ 1274:4ff9ab0d472c
Check in some old changes to the binding, from before I had commit access.
- Add bindings for InsertValue and ExtractValue
- Updates to use new APIs where they were renamed or removed.
- Add generic error messages if LLVM didn't provide one.
- Enable typesafe variadic arguments for GetGEP.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 27 Apr 2009 22:34:36 +0200 |
parents | 1ba61de8796b |
children |
comparison
equal
deleted
inserted
replaced
1273:1ba61de8796b | 1274:4ff9ab0d472c |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 g++ llvm-ext.cpp -c `llvm-config --cflags` | 3 g++ llvm-ext.cpp -c `llvm-config --cxxflags` |
4 g++ llvm-opt.cpp -c `llvm-config --cflags` | 4 g++ llvm-opt.cpp -c `llvm-config --cxxflags` |
5 g++ llvm-typemonitor.cpp -c `llvm-config --cflags` | 5 g++ llvm-typemonitor.cpp -c `llvm-config --cxxflags` |
6 | 6 |
7 rm -f libllvm-c-ext.a | 7 rm -f libllvm-c-ext.a |
8 ar rc libllvm-c-ext.a llvm-ext.o llvm-opt.o llvm-typemonitor.o | 8 ar rc libllvm-c-ext.a llvm-ext.o llvm-opt.o llvm-typemonitor.o |
9 ranlib libllvm-c-ext.a | 9 ranlib libllvm-c-ext.a |