[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Fwd: LLVMdev Digest, Vol 64, Issue 54
- To: OpenLDAP Devel <openldap-devel@openldap.org>
- Subject: Fwd: LLVMdev Digest, Vol 64, Issue 54
- From: Howard Chu <hyc@symas.com>
- Date: Fri, 30 Oct 2009 09:53:01 -0700
- User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.9.1.5pre) Gecko/20091025 Lightning/1.0pre SeaMonkey/2.0a1pre Firefox/3.0.3
I was just thinking about trying out LLVM, looks like someone already got there.
-------- Original Message --------
Date: Fri, 30 Oct 2009 17:40:43 +0800
From: Nan Zhu <zhunansjtu@gmail.com>
Subject: [LLVMdev] I have built a whole-program bitcode file for
openldap-2.19
To: llvmdev@cs.uiuc.edu
Hi,all
I have written a wrapper which includes gcc/g++,ld and llvm counterparts, it
invokes native or llvm compiler and linker according to the options it
receives,after I replace the native tools with my wrapper in libtool script,
I just typed like this
make CC=wrapper AC_CFLAGS=-emit-llvm
then I got a bc file of slapd and other tools in clients directory
The accessory is the whole-program bitcode file of slapd
(My platform is Fedora11 x86_64+E6300)
the method can also be applied to many GNU projects but there may be some
other problems when I treat to BIND,I'm checking it..
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20091030/1dcd3a47/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slapd.bc
Type: application/octet-stream
Size: 2662636 bytes
Desc: not available
Url :
http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20091030/1dcd3a47/attachment.obj
------------------------------