Hi, I have my simple jit'd language working to my satisfaction. Next, I'd like to add the ability to compile to standard ELF executables on Linux (and whatever is appropriate on the other platforms). Rather than printing assembly language to files and invoking the assembler and linker, is there a fast way I can convert my JIT to a static compiler? Thanks b.
On Wed, Jul 28, 2010 at 3:44 PM, Bill O'Hara <billtohara at gmail.com> wrote:> Hi, > > I have my simple jit'd language working to my satisfaction. Next, I'd > like to add the ability to compile to standard ELF executables on > Linux (and whatever is appropriate on the other platforms). > > Rather than printing assembly language to files and invoking the > assembler and linker, is there a fast way I can convert my JIT to a > static compiler?An ELF object emitter is in progress, which will allow you to skip calling the assembler, but either way you still need an ELF linker, which means you need GNU binutils. There are no plans at the moment to add an ELF linker to LLVM. -Eli
Seemingly Similar Threads
- [LLVMdev] simple way to print disassembly of final code from jit?
- [LLVMdev] simple way to print disassembly of final code from jit?
- [LLVMdev] simple way to print disassembly of final code from jit?
- [LLVMdev] simple way to print disassembly of final code from jit?
- [LLVMdev] simple way to print disassembly of final code from jit?