Compiling questions

Hello.

Is there a way to output native assembly from llvm-ld to FASM?

Also when I tried to compile C code generated by llc with TCC, it complained about not having the alloca.h header.

Is there a way to output native assembly from llvm-ld to FASM?

Not directly, but you can do something similar by piping the output of
llvm-link through llc.

Also when I tried to compile C code generated by llc with TCC, it complained
about not having the alloca.h header.

Hmm... please file a bug report at http://llvm.org/bugs/ with more details.

-Eli

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.