Displaying 1 result from an estimated 1 matches for "ccy3onaa".
2005 Mar 23
2
[LLVMdev] bytecode -> native code
...e bytecode by using commands:
% llc hello.bc -o hello.s
% gcc hello.s -o hello.native
This is working for a simple program( a single source file) but when I try to run it on grep utility (grep.bc) , it gives me the following error:
$ llc grep.bc -o grep.s
$ gcc grep.s -o grep.native
/tmp/ccY3oNAA.o(.text+0x2f2f): In function `main':
: undefined reference to `__main'
collect2: ld returned 1 exit status
How should i fix this?
Thanks
- T
---------------------------------
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
-------------- next part --------------...