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 version is
Using built-in specs.
Target: i686-pc-cygwin
Configured with: …/src/configure --prefix=/llvm-gcc/install --enable-llvm=/llvm
/obj --enable-languages=c,c++ --disable-threads --enable-checking
Thread model: single
gcc version 4.0.1 LLVM (Apple Computer, Inc. build 5400)
and LLVM version (as llc gives it)
Low Level Virtual Machine (http://llvm.org/):
llvm version 1.9cvs
DEBUG build with assertions.
I use cygwin.
Thanks a lot for help.
Tony.
P.S. compiled.o from ackermann.c is attached.
compiled.o (816 Bytes)