2008/7/14 Optymizer Sez <optymizer@xxxxxxxxx>: > 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" and the bytecode can be translated to native code or interpreted on the target machine. Dario