Hi,all<br><br>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 <br>
<br>make CC=wrapper AC_CFLAGS=-emit-llvm<br><br>then I got a bc file of slapd and other tools in clients directory<br><br>The accessory is the whole-program bitcode file of slapd<br><br>(My platform is Fedora11 x86_64+E6300)<br>
<br>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..<br><br>Thank you <br><br><br><br><br><br><br>