Den 16/06/2011 kl. 23.40 skrev Dimitry Andric: > Here is a diff to do just that, when you define WITH_CLANG_EXTRAS in > src.conf, in the environment, or on the make command line. In > particular, it will build and install the following extras: > > * bugpoint > * llc > * lli > * llvm-ar > * llvm-as > * llvm-bcanalyzer > * llvm-diff > * llvm-dis > * llvm-extract > * llvm-ld > * llvm-link > * llvm-mc > * llvm-nm > * llvm-objdump > * llvm-prof > * llvm-ranlib > * llvm-rtdyld > * llvm-stub > * macho-dump > * opt
Does anyone have an overview of which of these are actually useable on FreeBSD ELF binaries? Here's my impression from the audience (please correct me if I'm wrong): * llvm-nm and llvm-objdump have been converted to Michael Spencer's object file library (http://www.llvm.org/devmtg/2010-11/Spencer-ObjectFiles.pdf) and should work on our binaries. * lvm-ld only works on LLVM bitcode and either doesn't produce ELF binaries or uses binutils ld for this. Michael Spencer has plans for an llvm-ld that can replace binutils ld, but it's probably at least a year before something useful is ready. It would be great because it would bring LTO to FreeBSD. * llvm-as is used by us already on i386/amd64(?) * llvm-ar and llvm-ranlib are less useful as we have our own ar and ranlib by kaiw@ I don't know about the rest. Thanks, Erik_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "[email protected]"
