[LLVMdev] generating ELF files on non-ELF platforms with MC
Anton Korobeynikov
anton at korobeynikov.info
Wed Jan 4 04:49:37 PST 2012
> Yes, what I mean is that I want to generate runnable Windows code, on Windows, but package in ELF as the object file. Note that there's absolutely no problem with this approach - in fact we have a functional prototype already.
> The reason for this is that I currently want to employ MC-JIT on both Linux and Windows, without implementing two separate runtime dynamic loaders. I want to implement just RuntimeDyldELF, and use it on both Windows and Linux.
Well... What will you do if you will need to support some
windows-specific binary stuff which does not exist in ELF world? I
cannot think about something in this area off-hand, but there might be
something here.
And surely there are MachO features which do not exist in ELF world.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list