Displaying 2 results from an estimated 2 matches for "6b5e31f2".
2006 Aug 20
0
[LLVMdev] bytecode didn't read correctly under cygwin
Tony,
By default, llvm-gcc4 does not produce bytecode, it produces a native
object file, just like GCC does. So, if you try to pass it to llc, it is
obviously going to report problems with the bytecode. Either skip the
llc step or use the -emit-llvm option:
llvm-gcc -c -emit-llvm -o compiled.o ackermann.c
llc compiled.o -o compiled.s
Reid.
On Sun, 2006-08-20 at 20:26 +0400, Anton Vayvod wrote:
2006 Aug 20
4
[LLVMdev] bytecode didn't read correctly under cygwin
Hi!
I'm trying to run "llc" tool on files from "test" subdirectory of LLVM root.
I compile source files with the following line:
llvm-gcc -c -ocompiled.o ackermann.c
Then I run llc like the following:
llc compiled.o
which outputs
llc: bytecode didn't read correctly
(I mean, I try it with different options but even the default ones aint
working)
My llvm-gcc