Displaying 4 results from an estimated 4 matches for "tp29439679p29442243".
2010 Aug 15
2
[LLVMdev] clang: compile c code from char array?
...________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
--
View this message in context: http://old.nabble.com/clang%3A-compile-c-code-from-char-array--tp29439679p29442243.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2010 Aug 15
0
[LLVMdev] clang: compile c code from char array?
..._____
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
>
> --
> View this message in context: http://old.nabble.com/clang%3A-compile-c-code-from-char-array--tp29439679p29442243.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-- Jean-Daniel
2010 Aug 15
0
[LLVMdev] clang: compile c code from char array?
This thread may help:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-June/009507.html
On Sun, Aug 15, 2010 at 2:50 AM, gafferuk <gafferuk at gmail.com> wrote:
>
> Hi, how do I compile c code from a char array in clang?
>
> Im using code from the interpreter example.
> Thanks.
>
> char *cCode; // the char array
> // fill array with code goes here...
>
>
>
2010 Aug 14
2
[LLVMdev] clang: compile c code from char array?
Hi, how do I compile c code from a char array in clang?
Im using code from the interpreter example.
Thanks.
char *cCode; // the char array
// fill array with code goes here...
// Initialize a compiler invocation object from the clang (-cc1) arguments.
const driver::ArgStringList &CCArgs = Cmd->getArguments();
llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation);