Displaying 3 results from an estimated 3 matches for "dragonegg_disable_version_check".
2012 Oct 02
4
[LLVMdev] llvm-g++ does not work!
...avm/systemc-examples/jerome-chain$ make promela
llvm-g++ -fno-inline-functions -I../../external/systemc-2.2.0/src/
-I../../external/TLM-2009-07-15/include/tlm -I../../external/basic
-emit-llvm -c main.cpp -o main.bc
Potential incompatible plugin version. GCC: 4.5.3. Expected: 4.5.4
Defines 'dragonegg_disable_version_check' as env variable to remove
this warning
Please note that unexpected errors might occur.
llvm-link main.bc -o main.linked.bc
llvm-link: main.bc:1:1: error: expected top-level entity
ELF??4(VS???????????????????????
^
llvm-link: error loading file 'main.bc'
make: *** [main.linked.bc] Er...
2011 Jul 13
1
[LLVMdev] "Can I use LLVM to convert C++ code to C code?"FAQ doesn't work
hi, I'm new to llvm and trying to convert some c files to bitcode and convert them back to c code.
my command line is pretty simple and verymuch like commands in "Can I use LLVM to convert C++ code to C code?"
dragonegg_disable_version_check=1 llvm-gcc -emit-llvm test.c -o test -c
llc -march=c test -o testout.c
so I meant to compile test.c, which can be compiled and run by normal gcc, to bitcode, and use lcc -march=c to convert it back to c code.
but I recieve this:
llc: test:1:1: error: expected top-level entity
ELFX4(...
2012 Oct 02
0
[LLVMdev] llvm-g++ does not work!
...erome-chain$
> make promela
> llvm-g++ -fno-inline-functions -I../../external/systemc-2.2.0/src/
> -I../../external/TLM-2009-07-15/include/tlm -I../../external/basic -emit-llvm -
> c main.cpp -o main.bc Potential incompatible plugin version. GCC: 4.5.3.
> Expected: 4.5.4 Defines 'dragonegg_disable_version_check' as env variable
> to remove this warning Please note that unexpected errors might occur.
> llvm-link main.bc -o main.linked.bc
> llvm-link: main.bc:1:1: error: expected top-level entity
> ELF??4(VS???????????????????????
> ^
> llvm-link: error loading file 'main.bc'
&...