[cfe-dev] llvm/clang bytecode question

Anton Korobeynikov anton at korobeynikov.info
Sat May 7 12:42:42 PDT 2011


> I'm try to search in google. but nothing serious found.
> Can i write program in C , translate it by llvm/clang into bytecode and
> run on for example under 32/64 bit systems without recompilation ?
> What i need for it? For example, i'm write program with support plugins
> (plugin system) plugins are written in C. Small bootstrapper program run
> bytecode in target platform and i do not need to provide binaries for
> various linux/bsd/windows system...
> Does it possible ?
No in general

http://llvm.org/docs/FAQ.html#platformindependent

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the cfe-dev mailing list