Displaying 13 results from an estimated 13 matches for "helloworldmodule".
2012 Apr 11
2
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
It's actually is .c file.
I just want firstly to compile helloworldmodule.c into helloworldmodule.bc.
Then I run a LLVM pass on it to do some optimization, and then I compile the modified .bc file into .ko file.
So, could you tell me how to compile helloworldmodule.c into helloworldmodule.bc? I think it's not the same command "clang -O3 -emit-llvm hello.c -c -...
2012 Apr 12
2
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
...EL: 15810729006(Beijing)
Address: Room I-406, Central Building, Tsinghua University, Beijing, China. 100084.
At 2012-04-11 23:48:07,"John Criswell" <criswell at illinois.edu> wrote:
On 4/10/12 10:11 PM, 15102925731 wrote:
It's actually is .c file.
I just want firstly to compile helloworldmodule.c into helloworldmodule.bc.
Then I run a LLVM pass on it to do some optimization, and then I compile the modified .bc file into .ko file.
So, could you tell me how to compile helloworldmodule.c into helloworldmodule.bc? I think it's not the same command "clang -O3 -emit-llvm hello.c -c -...
2012 Apr 11
0
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
On 4/10/12 10:11 PM, 15102925731 wrote:
> It's actually is .c file.
> I just want firstly to compile helloworldmodule.c into
> helloworldmodule.bc.
> Then I run a LLVM pass on it to do some optimization, and then I
> compile the modified .bc file into .ko file.
>
> So, could you tell me how to compile helloworldmodule.c into
> helloworldmodule.bc? I think it's not the same command *"...
2012 Apr 12
0
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
...uilding, Tsinghua University, Beijing,
> China. 100084.
>
> At 2012-04-11 23:48:07,"John Criswell" <criswell at illinois.edu> wrote:
>
> On 4/10/12 10:11 PM, 15102925731 wrote:
>> It's actually is .c file.
>> I just want firstly to compile helloworldmodule.c into
>> helloworldmodule.bc.
>> Then I run a LLVM pass on it to do some optimization, and then I
>> compile the modified .bc file into .ko file.
>>
>> So, could you tell me how to compile helloworldmodule.c into
>> helloworldmodule.bc? I thi...
2012 Apr 12
1
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
...EL: 15810729006(Beijing)
Address: Room I-406, Central Building, Tsinghua University, Beijing, China. 100084.
At 2012-04-11 23:48:07,"John Criswell" <criswell at illinois.edu> wrote:
On 4/10/12 10:11 PM, 15102925731 wrote:
It's actually is .c file.
I just want firstly to compile helloworldmodule.c into helloworldmodule.bc.
Then I run a LLVM pass on it to do some optimization, and then I compile the modified .bc file into .ko file.
So, could you tell me how to compile helloworldmodule.c into helloworldmodule.bc? I think it's not the same command "clang -O3 -emit-llvm hello.c -c -...
2012 Apr 12
2
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
...nux/init.h' file not found
#include <linux/init.h>
^
1 error generated
Then I was taught to add -D or -I option so that clang can find the linux kernel head file. But I still dont know
how exactly the command like......All I want to know is a clang command line that can compile a helloworldmodule.c into helloworldmodule.bc.
Please give me some suggestion.
Any help would be appreciated!
--
祝好!
甄凯
------------------------------------------------------------------------------------------------------
2012-04-12
----------------------------------------------------------------...
2012 Apr 11
0
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
2012/4/10 15102925731 <zhenkaixd at 126.com>
> Hi, my friends
>
>
> I know there is a difference between compiling a linux module and a simple
> helloworld programme.
> If I compile a helloworld.c file, the command is
> *"clang -O3 -emit-llvm hello.c -c -o hello.bc"*
> But what the command should be if I want to compile a linux module into a
> .bc file?
2012 Apr 12
2
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
...inux/init.h>
>> ^
>> 1 error generated
>> Then I was taught to add -D or -I option so that clang can find the
>> linux kernel head file. But I still dont know
>> how exactly the command like......All I want to know is a clang command
>> line that can compile a helloworldmodule.c into helloworldmodule.bc.
>>
>> Please give me some suggestion.
>> Any help would be appreciated!
>>
>> --
>> 祝好!
>> 甄凯
>> ------------------------------------------------------------------------------------------------------
>>
>> 2012-...
2012 Apr 11
2
[LLVMdev] How to compile a linux module into .bc file using clang or llvm command?
Hi, my friends
I know there is a difference between compiling a linux module and a simple helloworld programme.
If I compile a helloworld.c file, the command is
"clang -O3 -emit-llvm hello.c -c -o hello.bc"
But what the command should be if I want to compile a linux module into a .bc file? (I know it may be an easy question to you guys, but I really don't know where to find the
2012 Apr 12
0
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
...ound
> #include <linux/init.h>
> ^
> 1 error generated
> Then I was taught to add -D or -I option so that clang can find the
> linux kernel head file. But I still dont know
> how exactly the command like......All I want to know is a clang command
> line that can compile a helloworldmodule.c into helloworldmodule.bc.
>
> Please give me some suggestion.
> Any help would be appreciated!
>
> --
> ף�ã�
> �翭
> ------------------------------------------------------------------------------------------------------
>
> 2012-04-12
> ----------------------------...
2012 Apr 12
0
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
...t;> Then I was taught to add -D or -I option so that clang can find the
>>> linux kernel head file. But I still dont know
>>> how exactly the command like......All I want to know is a clang command
>>> line that can compile a helloworldmodule.c into helloworldmodule.bc.
>>>
>>> Please give me some suggestion.
>>> Any help would be appreciated!
>>>
>>> --
>>> ף�ã�
>>> �翭
>>> -----------------------------------------------------------------------------...
2012 Apr 12
2
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
...I was taught to add -D or -I option so that clang can find the
>>>> linux kernel head file. But I still dont know
>>>> how exactly the command like......All I want to know is a clang command
>>>> line that can compile a helloworldmodule.c into helloworldmodule.bc.
>>>>
>>>> Please give me some suggestion.
>>>> Any help would be appreciated!
>>>>
>>>> --
>>>> 祝好!
>>>> 甄凯
>>>> ----------------------------------------------...
2012 Apr 12
0
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
...I was taught to add -D or -I option so that clang can find the
>>>> linux kernel head file. But I still dont know
>>>> how exactly the command like......All I want to know is a clang command
>>>> line that can compile a helloworldmodule.c into helloworldmodule.bc.
>>>>
>>>> Please give me some suggestion.
>>>> Any help would be appreciated!
>>>>
>>>> --
>>>> 祝好!
>>>> 甄凯
>>>> ----------------------------------------------...