[LLVMdev] Compiling questions
Anton Korobeynikov
anton at korobeynikov.info
Tue Apr 7 01:49:20 PDT 2009
Hello,
> Also when I tried to compile C code generated by llc with TCC, it complained
> about not having the alloca.h header.
The C code generated contains quite a lot gcc extensions. I'd not
expect that tcc will be able to compile produced .c file without
serious tweaks. alloca.h is needed to provide declaration of alloca(),
most probably you need to fix .c providing substitution for this
include.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list