C++ intermediate bytecode
Andrew Haley
aph@redhat.com
Sat Jul 19 15:24:00 GMT 2008
Dario Saccavino wrote:
> 2008/7/14 Optymizer Sez <optymizer@yahoo.com>:
>> Hi!
>>
>> I'd like to ask if there is a way to use GCC in order to compile a C++ source program into machine-independent code (bytecode, perhaps?) and then translate the bytecode into processor-dependent code on the target machine?
>> Something like the Amsterdam Compiler Kit, but for C++ and x86_64 would be great!
>>
>
> Hi, I'm not a GCC expert, but there is LLVM (http://llvm.org), that
> provides an infrastructure to compile C and C++ programs into some
> kind of bytecode. The compiler is "GCC-based"
Not exactly. I think they use a gcc front-end, but that's all.
Andrew.
More information about the Gcc-help
mailing list