Hi, I want to compile gnu utility 'find' to get an executed *.bc file, so I use the following commands: ./configure CC=/path/to/llvm-gcc LD=/path/to/llvm-ld make make install However, at the end I did not get any *.bc file, and the generated file 'find' is said to "Invalid bitcode signature". where is the error, and what should I do? Thank you all. noviceup -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131030/8f34af3b/attachment.html>
You can use -save-temps as an addition to CCFLAGS or whatever makes sense. On 10/30/2013 08:24 AM, lucefe wrote:> Hi, > > I want to compile gnu utility 'find' to get an executed *.bc file, so I > use the following commands: > > ./configure CC=/path/to/llvm-gcc LD=/path/to/llvm-ld > make > make install > > However, at the end I did not get any *.bc file, and the generated file > 'find' is said to "Invalid bitcode signature". where is the error, and > what should I do? Thank you all. > > > > noviceup > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Seemingly Similar Threads
- [PATCH v2] drm: prefix header search paths with $(srctree)/
- [LLVMdev] implicit CC register Defs cause "physreg was not killed in defining block!" assert
- [PATCH] drm: prefix header search paths with $(srctree)/
- [LLVMdev] implicit CC register Defs cause "physreg was not killed in defining block!" assert
- [LLVMdev] accessing a bitcode library exported from C++ using the JIT