[cfe-dev] Fwd: Makefile with Clang
zhunansjtu at gmail.com
Sun Apr 25 03:06:40 PDT 2010
Actually, we have been working on this way, the key to acquire the bitcode
file is to write a "dummy_gcc" which can call cc ＆llvm-ld to finish the
compiling procedure, since the llvm-gcc cannot invoke llvm-ld to generate
LLVM bitcode files for you automatically
2010/4/20 Yan Lin Aung <yan_lin_aung at yahoo.com>
> I would like to have a whole program bitcode file. Any idea?
> --- On *Tue, 4/20/10, Nan Zhu <zhunansjtu at gmail.com>* wrote:
> From: Nan Zhu <zhunansjtu at gmail.com>
> Subject: Re: [cfe-dev] Makefile with Clang
> To: "Yan Lin Aung" <yan_lin_aung at yahoo.com>
> Cc: cfe-dev at cs.uiuc.edu
> Date: Tuesday, April 20, 2010, 1:32 PM
> You mean you want one bitcode file for each C source file or you would like
> to have a whole program bitcode file?
> 2010/4/20 Yan Lin Aung <yan_lin_aung at yahoo.com<http://email@example.com>
>> I would like to compile applications which consists of multiple source
>> files (for example, file1.c file2.c, main.c) with Clang using Makefile to
>> get the LLVM bitcode file. Anyone knows how to do that? Thanks.
>> With regards
>> Yan Lin
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu <http://firstname.lastname@example.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev