Markus F.X.J. Oberhumer wrote:
with the small patch attached below the whole llvm toolchain (llvm & llvm-gcc) will compile and run under AMD64 Linux in native 64-bit LP64 mode.
This means that compilation, bytecode management and CWriter output all work as expected. Of course there is no JIT, and the bytecode interpreter is still very much untested - more patches may follow.
I just applied your X86-64 patches to llvm-gcc. I've run them on a few programs on Linux/i386, and everything seems to work.
-- John T.