[LLVMdev] Generate PE\COFF file with ARM instructions

İsmail Dönmez
2013-05-13T17:39:00Z

Hi,


On Mon, May 13, 2013 at 5:37 PM, Moshe, Nir <NMoshe at nds.com> wrote:

>  Hi guys,
>
> I have a question about the LLVM ARM backend:
>
> I try to build *.c files for Windows Phone (Windows 8) - so, basically  I
> need to generate an "arm-pe" file (I *think* it has the same file
structure
> like x86-pe file, but i am not sure).
> unfortunately, LLVM has no support with ARM PE\COFF.
>
> Any ideas?
> How difficult is to add the support in this file format? (LLC can generate
> ARM assembly, and PE\COFF files...) is there any fundamental difference
> between those file types (ARM-PE \ x86-PE) ?
>
> Thanks,
> Nir
>
>
>
At one point cegcc (http://cegcc.sourceforge.net) project has managed to do
this for WinCE which was PE/ARM. You should check the latest sources to see
if it helps.

ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20130513/4eb43c64/attachment.html>