Hi Stefan, Yes Fabian told me this earlier. I tried that option but it only uses 'clang' to compile the source code. It doesn't produce LLVM bitcode files. It produces standard object files. If I pass CFLAGS=-emit-llvm -c, then I get config error: ./configure CC=clang CFLAGS="-emit-llvm -c" checking for gcc... clang checking for C compiler default output file name... configure: error: in `/data/ahmad/test/MonetDB-11.13.5': configure: error: C compiler cannot create executables See `config.log' for more details. Config.log says: configure:3976: clang -v >&5 clang version 3.1 (tags/RELEASE_31/final 170126) Target: x86_64-unknown-linux-gnu Thread model: posix configure:3980: $? = 0 configure:3987: clang -V >&5 clang: error: argument to '-V' is missing (expected 1 value) Kind Regards, Ahmad -----Original Message----- From: users-list-bounces+ahmad.hassan=sap.com@monetdb.org [mailto:users-list-bounces+ahmad.hassan=sap.com@monetdb.org] On Behalf Of Stefan Manegold Sent: 10 January 2013 16:32 To: Communication channel for MonetDB users Subject: Re: MonetDB under LLVM Hi Ahmad a simple `.../configure CC=clang ...` used to work fine, though we haven't tested it recently ... Stefan ----- Original Message -----
Hi Team,
Has anyone tried compiling/running MonetDB under LLVM/CLANG compiler framework please?
Normally the use case is:
1) Produce set of llvm bitcode files *.bc from C code
2) Apply LLVM Pass to instrument *.bc files through llvm 'OPT' compiler tool
3) Link all *.bc files and produce executables of monetdb
I am going to try monetdb under llvm. If anyone hasn't done it before then I may ask for the initial pointers to compile monedb under llvm instrumentation.
Thanks.
Kind Regards, Ahmad
_______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list _______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list